vrmodel

diff inptools/test/Makefile @ 0:affaad5fcd30

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 29 Aug 2014 18:56:54 +0300
parents
children be91b72ce3f9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/inptools/test/Makefile	Fri Aug 29 18:56:54 2014 +0300
     1.3 @@ -0,0 +1,12 @@
     1.4 +src = $(wildcard src/*.c)
     1.5 +obj = $(src:.c=.o)
     1.6 +bin = test
     1.7 +
     1.8 +CFLAGS = -pedantic -Wall -g
     1.9 +
    1.10 +$(bin): $(obj)
    1.11 +	$(CC) -o $@ $(obj) $(LDFLAGS)
    1.12 +
    1.13 +.PHONY: clean
    1.14 +clean:
    1.15 +	rm -f $(obj) $(bin)