/[publicrep]/ezc/trunk/src/Makefile
ViewVC logotype

Contents of /ezc/trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 241 - (show annotations)
Fri Nov 13 21:10:06 2009 UTC (13 years, 4 months ago) by tomek
File size: 363 byte(s)
small changes in Makefile

1 include Makefile.o.dep
2
3
4 all: ezc.a
5
6 ezc.a: $(o)
7 ar rcs ezc.a $(o)
8
9
10 .SUFFIXES: .cpp .o
11
12 .cpp.o:
13 $(CXX) -c $(CXXFLAGS) $<
14
15
16
17 depend:
18 makedepend -Y. -f- *.cpp > Makefile.dep
19 echo -n "o = " > Makefile.o.dep
20 ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
21
22
23 clean:
24 rm -f *.o
25 rm -f *.a
26
27
28 include Makefile.dep

Properties

Name Value
svn:executable *

svnadmin@ttmath.org
ViewVC Help
Powered by ViewVC 1.2.1