liboptcfg

view example/Makefile @ 3:f971dfa66076

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 27 Jul 2016 04:31:40 +0300
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)