1
0
mirror of https://frontier.innolan.net/github/AmigaExamples.git synced 2025-12-09 16:20:46 +00:00
Files
AmigaExamples/tools/imagecon/Makefile
2016-03-01 15:18:22 +11:00

23 lines
520 B
Makefile

IMAGECON=./bin/imagecon
SRCS=imagecon.c
HOST_WARNINGS=-pedantic-errors -Wfatal-errors -Wall -Werror -Wextra -Wno-unused-parameter -Wshadow
HOST_CFLAGS=$(HOST_WARNINGS)
imagecon: out bin $(SRCS)
gcc $(HOST_CFLAGS) $(SRCS) -o $(IMAGECON) -lpng
out:
mkdir out
bin:
mkdir bin
bitplane.bin copper-list.s: bin/imagecon
$(IMAGECON) ../../assets/hello.png out/hello
test: bitplane.bin copper-list.s
diff out/hello.bin reference/bitplane.bin
diff out/hello-copper-list.s reference/copper-list.s
clean:
rm -r out bin