updated Makefile, main/fart.cc, util/Vector.h
git-svn-id: svn://anubis/fart/trunk@5 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
973c07d2a9
commit
0e93e2c76d
3 files changed
+18
-2
No files matched your search
@@ -1,16 +1,25 @@
|
||||
|
||||
TARGET := fart
|
||||
ifdef WIN32
|
||||
export CPPFLAGS += -I"$(shell cd)"
|
||||
else
|
||||
export CPPFLAGS += -I"$(shell pwd)"
|
||||
endif
|
||||
|
||||
all:
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET):
|
||||
make -C util
|
||||
make -C shapes
|
||||
make -C main
|
||||
$(CXX) -o $@ main/*.o util/*.o shapes/*.o $(CXXFLAGS) $(LDFLAGS)
|
||||
|
||||
testsuite:
|
||||
make -C test
|
||||
$(CXX) -o $@ main/*.o util/*.o shapes/*.o $(CXXFLAGS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
make -C test clean
|
||||
make -C main clean
|
||||
make -C shapes clean
|
||||
make -C util clean
|
||||
Reference in new issue
Block a user