liboptcfg

view example/Makefile @ 5:aca7267dfee0

fixed cross-compilation with mingw-w64
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 31 Aug 2017 05:59:19 +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)