Makefile 526 Bytes
Newer Older
1
all: coloritto-cli coloritto
2

3 4
coloritto-cli: *.c argvs-commands.inc *.h *.inc Makefile
	ccache gcc *.c -o coloritto-cli -lm `pkg-config babl --cflags --libs` -Wall -Wno-unused-but-set-variable -g
5

6 7
coloritto: *.c argvs-commands.inc *.h *.inc Makefile
	ccache gcc *.c -o coloritto -DHAVE_MRG -lm `pkg-config mrg babl --cflags --libs` -Wall -Wno-unused-but-set-variable -g
8
clean:
9
	rm -f coloritto coloritto-cli argvs-commands.inc
10 11 12 13

argvs-commands.inc: *.c Makefile
	@echo " GEN" $@ 
	@./argvs_extract.sh *.c > argvs-commands.inc
14