use scons to build

This commit is contained in:
Josh Holtrop 2011-04-20 11:30:00 -04:00
parent 51c0ded005
commit 8e6cd37dc9
2 changed files with 10 additions and 7 deletions

View File

@ -1,10 +1,7 @@
export SCONSFLAGS := -Q
TARGET := WFObj.o all:
@scons
all: $(TARGET)
%.o: %.cc
$(CXX) -c -o $@ $(CPPFLAGS) $(CXXFLAGS) $<
clean: clean:
-rm -f *~ *.o @scons -c

6
SConstruct Normal file
View File

@ -0,0 +1,6 @@
# vim:filetype=python
env = Environment()
env.Object('WFObj', 'WFObj.cc')