Changeset 1477 in Sophya for trunk/ArchTOIPipe/Makefile.in


Ignore:
Timestamp:
Apr 25, 2001, 10:52:35 AM (24 years ago)
Author:
aubourg
Message:

multi rep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Makefile.in

    r1365 r1477  
    6868        rm -f *.o
    6969        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
    7075
    71 SRCFILES=@srcfiles@
     76%: $(srcdir)/pipes/%.cc build_kernel build_processors build_sophya
     77        cd pipes; $(MAKE) $@
    7278
    73 FILES=$(patsubst %.c,%.o,$(SRCFILES:.cc=.o))
     79build_kernel:
     80        cd kernel; $(MAKE)
    7481
    75 %: %.o $(FILES)
    76         $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -pthread -o $@ -lm
     82build_processors:
     83        cd processors; $(MAKE)
    7784
    78 %.o:$(srcdir)/%.cc
    79         $(COMPILE.cc) -pthread -o $@ $<
     85build_sophya:
     86ifeq ($(USE_SOPHYA),1)
     87        if [ -f sophya ]; then \
     88          cd sophya; $(MAKE) \
     89        fi
     90else
     91        echo "no sophya"
     92endif
    8093
    8194
    8295
    83 %.d: $(srcdir)/%.cc
    84         $(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.