diff options
author | Steven Schubiger <stsc@refcnt.org> | 2012-12-18 23:07:43 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2012-12-18 23:07:43 +0100 |
commit | eaa100485541ae65959f78f6ae27e8c5cc1c644d (patch) | |
tree | 049c1c9cd9ccec05d7466475ebffb89a06cfd6bc /Makefile | |
download | colorize-eaa100485541ae65959f78f6ae27e8c5cc1c644d.tar.gz colorize-eaa100485541ae65959f78f6ae27e8c5cc1c644d.tar.bz2 |
Initial commit.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
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 |