vrmodel

view inptools/test/Makefile @ 2:be91b72ce3f9

foobar
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Aug 2014 21:46:37 +0300
parents affaad5fcd30
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CFLAGS = -pedantic -Wall -g -I../../include
7 $(bin): $(obj)
8 $(CC) -o $@ $(obj) $(LDFLAGS)
10 .PHONY: clean
11 clean:
12 rm -f $(obj) $(bin)