- Timestamp:
- 04/22/08 13:31:17 (17 years ago)
- Branches:
- master, help
- Children:
- ff0fc99
- Parents:
- aa9f1bc
- git-author:
- obrebski <obrebski@…> (04/22/08 13:31:17)
- git-committer:
- obrebski <obrebski@…> (04/22/08 13:31:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/src/dgp/Makefile
r0214596 rb6109b9 3 3 SHELL = /bin/sh 4 4 5 vpath %.o o 5 #vpath %.o . 6 6 7 7 CXXFLAGS = -O2 -static … … 13 13 14 14 # plik *.o sa umieszczane w podkatalogu o 15 objs = $(sources:%.cc= o/%.o)15 objs = $(sources:%.cc=%.o) 16 16 17 17 ${bin}: ${objs} … … 20 20 include $(sources:.cc=.d) 21 21 22 o/%.o: %.cc22 %.o: %.cc 23 23 ${CXX} -c ${CXXFLAGS} -o $@ $< 24 24 25 25 %.d: %.cc 26 26 $(CC) -MM $(CPPFLAGS) $< > $@.$$$$; \ 27 sed 's,\($*\)\.o[ :]*, o/\1.o $@ : ,g' < $@.$$$$ > $@; \27 sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ 28 28 rm -f $@.$$$$ 29 29 … … 37 37 prof: dgp 38 38 gprof dgp ~/tmp/dgp-pl/gmon.out > dgp.prof 39 40 copy: 41 ifdef UTT_BIN_DIR 42 cp dgp dgc canonize $(UTT_BIN_DIR) 43 endif
Note: See TracChangeset
for help on using the changeset viewer.