############################################################ # # Makefile # Creation date : Nov 15 2000 # Author : Y.Nakaune # include ../depend SRC = xyDSP.c hit_sci.c hit_dc.c hit_tgc.c CFLAGS = -O2 -Wall -g GTKCFG = `gtk-config --cflags` `gtk-config --libs` .c.o: @echo "Compiling $<" # @$(CC) -c $(CFLAGS) $(GTKCFG) $< @echo '...done' ALL: xyDSP xyDSP: $(SRC) @echo "Now make $@" @$(CC) $(GTKCFG) $(CFLAGS) -o $(BIN)/$@ $(SRC) @echo '..Compile done!' # @$(CC) $(GTKCFG) $(CFLAGS) -o $@ $(SRC) # @echo '..Compile done!' clean: @echo 'Now clean up' @rm -f *.o core