liboptcfg

annotate example/Makefile @ 1:8fd2858c6a29

example (test) program
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Nov 2015 14:12:30 +0200
parents
children
rev   line source
nuclear@1 1 obj = example.o
nuclear@1 2 bin = example
nuclear@1 3
nuclear@1 4 CFLAGS = -pedantic -Wall -g
nuclear@1 5 LDFLAGS = -loptcfg
nuclear@1 6
nuclear@1 7 $(bin): $(obj)
nuclear@1 8 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@1 9
nuclear@1 10 .PHONY: clean
nuclear@1 11 clean:
nuclear@1 12 rm -f $(obj) $(bin)