lbm2bin
annotate Makefile @ 3:c5e5bf1769d8
renamed ilbm2bin -> lbm2bin, since it supports both ILBM and PBM files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 15 Jul 2017 13:32:49 +0300 |
parents | bfd8aa2ca393 |
children | 0b96363742d3 |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 |
nuclear@3 | 4 bin = lbm2bin |
nuclear@0 | 5 |
nuclear@0 | 6 LDFLAGS = -lm |
nuclear@0 | 7 |
nuclear@0 | 8 $(bin): $(obj) |
nuclear@0 | 9 $(CC) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 10 |
nuclear@0 | 11 .PHONY: clean |
nuclear@0 | 12 clean: |
nuclear@0 | 13 rm -f $(obj) $(bin) |