use scons to build
This commit is contained in:
parent
51c0ded005
commit
8e6cd37dc9
11
Makefile
11
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
|
||||
|
6
SConstruct
Normal file
6
SConstruct
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
# vim:filetype=python
|
||||
|
||||
env = Environment()
|
||||
|
||||
env.Object('WFObj', 'WFObj.cc')
|
Loading…
x
Reference in New Issue
Block a user