mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 08:30:56 +01:00
21 lines
449 B
Makefile
21 lines
449 B
Makefile
# makefile for our db project
|
|
|
|
FLAGS=-I ..
|
|
|
|
OBJS=../stdafx.o ../util/sock.o ../grid/message.o ../util/mmap.o pdfile.o
|
|
|
|
.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
|