Makefile (376B)
1 CC = cc 2 PREFIX = /usr/local 3 4 all: croptool 5 6 croptool: croptool.c 7 ${CC} -pedantic -Wno-deprecated-declarations -Wall -Werror croptool.c -o croptool -std=c99 `pkg-config --libs --cflags gtk+-2.0` -lm 8 9 install: all 10 cp -f croptool ${PREFIX}/bin 11 chmod 755 ${PREFIX}/bin/croptool 12 13 uninstall: 14 rm -f ${PREFIX}/bin/croptool 15 16 clean: 17 rm -f croptool 18 19 .PHONY: clean install uninstall