aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ca0ee68c0a5619faf4fa973677cb975b19b37fa0 (plain)
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