vrmodel
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 bin = test |
nuclear@0 | 4 |
nuclear@2 | 5 CFLAGS = -pedantic -Wall -g -I../../include |
nuclear@0 | 6 |
nuclear@0 | 7 $(bin): $(obj) |
nuclear@0 | 8 $(CC) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 9 |
nuclear@0 | 10 .PHONY: clean |
nuclear@0 | 11 clean: |
nuclear@0 | 12 rm -f $(obj) $(bin) |