liboptcfg

view 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
line source
1 obj = example.o
2 bin = example
4 CFLAGS = -pedantic -Wall -g
5 LDFLAGS = -loptcfg
7 $(bin): $(obj)
8 $(CC) -o $@ $(obj) $(LDFLAGS)
10 .PHONY: clean
11 clean:
12 rm -f $(obj) $(bin)