aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: d061794949a381d71485b18fca6146515a879201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: check clean

.SUFFIXES:
.SUFFIXES: .c .o

SHELL=/bin/sh
CC=gcc
CFLAGS=-ansi -pedantic

colorize:	colorize.c
			perl ./version.pl > version.h
			$(CC) $(CFLAGS) -o colorize colorize.c -DCFLAGS="$(CFLAGS)" -DHAVE_VERSION

check:
			perl ./test.pl

clean:
			rm -f colorize version.h