small changes in Makefile
git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@241 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
141e1f67b3
commit
9b4586d7be
|
@ -1,4 +1,5 @@
|
|||
o = ezc.o
|
||||
include Makefile.o.dep
|
||||
|
||||
|
||||
all: ezc.a
|
||||
|
||||
|
@ -9,12 +10,14 @@ ezc.a: $(o)
|
|||
.SUFFIXES: .cpp .o
|
||||
|
||||
.cpp.o:
|
||||
$(CC) -c $(CFLAGS) $<
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
|
||||
depend:
|
||||
makedepend -Y. -f- *.cpp > Makefile.dep
|
||||
echo -n "o = " > Makefile.o.dep
|
||||
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
|
||||
|
||||
|
||||
clean:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
o = ezc.o
|
Loading…
Reference in New Issue