1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.PHONY: clean .SUFFIXES: .SUFFIXES: .c .o SHELL=/bin/sh CC=gcc CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-function -Wno-unused-parameter colorize: colorize.c $(CC) $(CFLAGS) -o $@ $< -DCFLAGS="$(CFLAGS)" check: perl ./test.pl clean: [ -e colorize ] && rm colorize; exit 0