comptut

view Makefile @ 1:d872095206bf

Added tag tutor2 for changeset 10f07b308aab
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 15 Mar 2015 05:49:54 +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)