liboptcfg

view example/Makefile @ 2:9c73004c7af3

works
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 20 Nov 2015 17:05:39 +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)