1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# $Id: Makefile.gcc,v 1.1.1.1 2008-10-21 09:10:13 cizzo Exp $
# $Name: not supported by cvs2svn $
CC = gcc
#CFLAGS = -Wid-clash-15 -Wall -Wmissing-prototypes -ansi -pedantic -g
CFLAGS = -Wall -Wmissing-prototypes -ansi -pedantic -O2 -DNDEBUG
project: dep tdict tlist thash teh tsfx
tlist: list.c list.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN -o tlist list.c
tdict: dict.c dict.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN -o tdict dict.c
thash: hash.c hash.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN -o thash hash.c
teh: except.c except.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN -o teh except.c
tsfx: sfx.c sfx.h except.o hash.o
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN -o tsfx sfx.c except.o hash.o
docs: docs.dvi
docs.dvi: docs.ltx docs.toc docs.ind
latex docs.ltx
docs.ind: docs.idx docs.ist
makeindex -s docs.ist docs.idx
docs.toc: docs.ltx
latex docs.ltx
docs.idx: docs.ltx
latex docs.ltx
clean:
-rm tags tlist tdict thash teh tsfx except.o docs.aux docs.log docs.dvi docs.toc docs.idx docs.ind docs.ilg
dep: .depend
.depend: *.h
gcc -MM *.c > .depend
-include .depend
|