lbm2bin

annotate Makefile @ 4:0b96363742d3

added palette export, and fixed a planar pixel output bug
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 16 Jul 2017 21:30:23 +0300
parents c5e5bf1769d8
children 03b2aa7ed478
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@4 6 CFLAGS = -pedantic -Wall -g
nuclear@0 7 LDFLAGS = -lm
nuclear@0 8
nuclear@0 9 $(bin): $(obj)
nuclear@0 10 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 11
nuclear@0 12 .PHONY: clean
nuclear@0 13 clean:
nuclear@0 14 rm -f $(obj) $(bin)