2007-10-20 01:35:48 +02:00
|
|
|
# makefile for our db project
|
|
|
|
|
2007-10-28 18:34:27 +01:00
|
|
|
FLAGS=-I .. -I/opt/java/include/ -I/opt/java/include/linux -Isrc/p -I/src/p/db
|
2007-10-20 01:35:48 +02:00
|
|
|
|
2007-10-28 17:37:24 +01:00
|
|
|
OBJS=../stdafx.o ../util/sock.o ../grid/message.o ../util/mmap.o pdfile.o query.o
|
2007-10-20 01:35:48 +02:00
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
g++ -c $(FLAGS) $< -o $@
|
|
|
|
|
|
|
|
# Our convention is that passing 'quicktest' on the command line means run
|
|
|
|
# fast regressions and then immediately exit. That way you know immediately if you
|
|
|
|
# broke something horribly.
|
|
|
|
|
|
|
|
db: $(OBJS) db.o
|
|
|
|
g++ $(FLAGS) -o $@ $(OBJS) db.o
|
|
|
|
./db quicktest
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $(OBJS) db.o
|
|
|
|
-rm -f db
|