comptut

view Makefile @ 6:098d02ac0319

Added tag tutor5 for changeset bebbe71ba949
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 16 Mar 2015 01:07:10 +0200
parents
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CFLAGS = -pedantic -Wall -g
7 $(bin): $(obj)
8 $(CC) -o $@ $(obj) $(LDFLAGS)
10 .PHONY: clean
11 clean:
12 rm -f $(obj) $(bin)