use scons to build

This commit is contained in:
Josh Holtrop committed 2011-04-20 11:30:00 -04:00
1 parent 51c0ded005
commit 8e6cd37dc9
2 files changed
+10 -7

No files matched your search

+4 -7
View File
@@ -1,10 +1,7 @@
export SCONSFLAGS := -Q
TARGET := WFObj.o
all: $(TARGET)
%.o: %.cc
$(CXX) -c -o $@ $(CPPFLAGS) $(CXXFLAGS) $<
all:
@scons
clean:
-rm -f *~ *.o
@scons -c
+6
View File
@@ -0,0 +1,6 @@
# vim:filetype=python
env = Environment()
env.Object('WFObj', 'WFObj.cc')