diff --git a/Makefile b/Makefile index 4813fa3..c8f18b8 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/SConstruct b/SConstruct new file mode 100644 index 0000000..784d308 --- /dev/null +++ b/SConstruct @@ -0,0 +1,6 @@ + +# vim:filetype=python + +env = Environment() + +env.Object('WFObj', 'WFObj.cc')