c11threads

annotate Makefile @ 0:056c9db89e79

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 24 Sep 2012 12:32:42 +0300
parents
children
rev   line source
nuclear@0 1 obj = test.o
nuclear@0 2 bin = test
nuclear@0 3
nuclear@0 4 CFLAGS = -pedantic -Wall -g
nuclear@0 5 LDFLAGS = -lpthread
nuclear@0 6
nuclear@0 7 $(bin): $(obj)
nuclear@0 8 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 9
nuclear@0 10 test.o: test.c c11threads.h
nuclear@0 11
nuclear@0 12 .PHONY: clean
nuclear@0 13 clean:
nuclear@0 14 rm -f $(obj) $(bin)