sgl

diff Makefile.in @ 13:e989ab58ec5b

trying to figure out how cocoa works
author John Tsiombikas <nuclear@siggraph.org>
date Mon, 16 May 2011 23:05:57 +0300
parents bf34fa677960
children 12ce0cef7ebf
line diff
     1.1 --- a/Makefile.in	Sat May 14 12:02:22 2011 +0300
     1.2 +++ b/Makefile.in	Mon May 16 23:05:57 2011 +0300
     1.3 @@ -1,4 +1,5 @@
     1.4  src = $(wildcard src/*.c)
     1.5 +msrc = $(wildcard src/*.m)
     1.6  obj = $(src:.c=.o)
     1.7  dep = $(src:.c=.d)
     1.8  lib_a = libsgl.a
     1.9 @@ -16,6 +17,7 @@
    1.10  
    1.11  ifeq ($(shell uname -s), Darwin)
    1.12  	sys = mac
    1.13 +	obj += $(msrc:.m=.o)
    1.14  else
    1.15  	sys = unix
    1.16  endif