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

.SUFFIXES:
.SUFFIXES: .c .o

SHELL=/bin/sh
CC=gcc
CFLAGS=-ansi -pedantic
FLAGS= # command-line macro

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

check:
			perl ./test.pl

clean:
			rm -f a.out colorize debug.txt version.h

release:
			sh ./release.sh