liboptcfg
annotate 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 |
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) |