############################################################ # # Makefile # Creation date : Nov 13 2000 # Author : Y.Nakaune # include ../depend AR_SRC = libetc.o libps.o #RD_SRC = daq_rd.o tracking.o cfg_rd.o sc_rd.o RD_SRC = cfg_rd.o .c.o: @echo "Compiling $<" @echo "INCCFG: $(INCCFG)" # @$(CC) -c $(CFLAGS) $< -I$(INCDIR) $(CERNINC) -Df2cFortran @$(CC) -c -O2 $< -I$(INCDIR) $(CERNINC) -Df2cFortran @echo '...done' all: libdaq.a libdaq.a: $(RD_SRC) $(AR_SRC) @echo "Update library $@" @$(AR) $@ $(AR_SRC) $(RD_SRC) @$(RANLIB) $@ @echo "...Done update library $@" $(RD_SRC): $(INCCFG) clean: @echo 'Now clean up' @rm -f *.o core @echo "...Done"