[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [linuxgames] Makefiles



Bill Kendrick:
[cut]
>   obj/foo.o:	src/foo.c src/foo.h obj
> 	$(CC) src/foo.c -o obj/foo.o
> 
>   obj:
> 	mkdir obj
> 
> 
> Try something like that.  I hope you consider it at least a LITTLE more
> elegant. ;)
It is of course more elegant, but does the exact same thing.... =(

Anyway, thanks for the hint(s).
Francesco Orsenigo