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
|
# makefile for the purity test
#
# edit all appropriate paths, and then make
#
# make sure the definitions in pt.h are correct before making
# BINDIR: the directory where the binary will go.
BINDIR = /usr/games
# LIBDIR: the directory where the test datafiles are kept
LIBDIR = /usr/games/lib/pt
# options for the c compiler (-g, -O, etc.)
# Specify -DSYS for sysV, -DLINUX for linux, BSD is default
#CFLAGS = -O
CFLAGS = -O6 -s -DLINUX
# compiler libraries (-ltermcap, etc.)
LIBS =
purity: pt.c pt.h
cc $(CFLAGS) -DLIBDIR=\"$(LIBDIR)\" -o purity pt.c $(LIBS)
clean:
rm -f purity *.o
|