Make all tools in tools/Makefile by default.

This commit is contained in:
Daniel Schepler 2003-08-22 11:07:19 +00:00
parent 08b3731938
commit b57b823c2b
2 changed files with 16 additions and 0 deletions

7
tools/.cvsignore Normal file
View File

@ -0,0 +1,7 @@
bmtoppm
delua
imc2wav
int2flt
mat2ppm
unlab
vima

View File

@ -1,8 +1,17 @@
CXX = g++
CXXFLAGS = -g -O2 -Wall -I../lua/include -I../lua/src -I.. -DLUA_NUM_TYPE=float
CFLAGS = -g -O2 -Wall
LDFLAGS = -g
LIBS = -L../lua/lib -llua
all: bmtoppm delua imc2wav int2flt mat2ppm unlab vima
bmtoppm: bmtoppm.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ bmtoppm.c -lppm
mat2ppm: mat2ppm.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mat2ppm.c -lppm
delua: delua.o ../lua/lib/liblua.a ../localize.o ../registry.o ../debug.o
$(CXX) $(LDFLAGS) -o $@ delua.o ../localize.o ../registry.o $(LIBS)