aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7fa844799a9b1698e5ba6d7111b7451040cc59e0 (plain)
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 colorize colorize.c -DCFLAGS="$(CFLAGS)"

check:
			perl ./test.pl

clean:
			[ -e colorize ] && rm colorize; exit 0