Changeset 1477 in Sophya for trunk/ArchTOIPipe/Makefile.in
- Timestamp:
- Apr 25, 2001, 10:52:35 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Makefile.in
r1365 r1477 68 68 rm -f *.o 69 69 rm -rf rii_files ii_files cxxrep cxx_repository 70 for d in kernel processors sophya; do \ 71 if [ -d $d ]; then \ 72 cd $d; $(MAKE) clean \ 73 fi \ 74 done 70 75 71 SRCFILES=@srcfiles@ 76 %: $(srcdir)/pipes/%.cc build_kernel build_processors build_sophya 77 cd pipes; $(MAKE) $@ 72 78 73 FILES=$(patsubst %.c,%.o,$(SRCFILES:.cc=.o)) 79 build_kernel: 80 cd kernel; $(MAKE) 74 81 75 %: %.o $(FILES) 76 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -pthread -o $@ -lm82 build_processors: 83 cd processors; $(MAKE) 77 84 78 %.o:$(srcdir)/%.cc 79 $(COMPILE.cc) -pthread -o $@ $< 85 build_sophya: 86 ifeq ($(USE_SOPHYA),1) 87 if [ -f sophya ]; then \ 88 cd sophya; $(MAKE) \ 89 fi 90 else 91 echo "no sophya" 92 endif 80 93 81 94 82 95 83 %.d: $(srcdir)/%.cc84 $(SHELL) -ec 'gcc -MM $(CPPFLAGS) -I. $< \85 | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \86 [ -s $@ ] || rm -f $@'87 88 include $(SRCFILES:.cc=.d)
Note:
See TracChangeset
for help on using the changeset viewer.