From eaa100485541ae65959f78f6ae27e8c5cc1c644d Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Tue, 18 Dec 2012 23:07:43 +0100 Subject: Initial commit. --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b332cda --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +.PHONY: clean + +.SUFFIXES: +.SUFFIXES: .c .o + +SHELL=/bin/sh +CC=gcc +CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused + +colorize: colorize.o + $(CC) -o $@ $< + +colorize.o: colorize.c + $(CC) $(CFLAGS) -c $< -DCFLAGS="$(CFLAGS)" + +check: + perl ./test.pl + +clean: + [ -e colorize.o ] && rm colorize.o; exit 0 -- cgit v1.2.3