updated Makefile

git-svn-id: svn://anubis/misc/wfobj@186 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh committed 2009-10-18 16:33:59 +00:00
1 parent 663669a407
commit 4a11b8f621
2 files changed
+5 -7

No files matched your search

+4 -6
View File
@@ -1,12 +1,10 @@
CXX := g++
CXXFLAGS := -O2
OBJS := WFObj.o
TARGET := WFObj.o
all: $(OBJS)
all: $(TARGET)
%.o: %.cc %.hh
$(CXX) -c -o $@ $< $(CXXFLAGS)
%.o: %.cc
$(CXX) -c -o $@ $(CXXFLAGS) $<
clean:
-rm -f *~ *.o