1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.PHONY: check clean .SUFFIXES: .SUFFIXES: .c .o SHELL=/bin/sh CC=gcc CFLAGS=-ansi -pedantic colorize: colorize.c $(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" check: perl ./test.pl clean: [ -e colorize ] && rm colorize; exit 0