From 8e6cd37dc9a03b0b806b8777cc769c7139d7dcb7 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 20 Apr 2011 11:30:00 -0400 Subject: [PATCH] use scons to build --- Makefile | 11 ++++------- SConstruct | 6 ++++++ 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 SConstruct 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')