# # Makefile for subclonedb # # # Programs made by this makefile # PROGS = subclonedb update_subclones # # Where the wild things are # SRC = . MISCSRC = $(SRC)/../Misc MISCBIN = $(MISCSRC) INCLUDES = -I$(SRC) -I$(MISCSRC) # # Sun # CC = gcc CFLAGS = -g $(INCLUDES) # # Here they are # subclonedb : $(SRC)/subclonedb.c $(MISCBIN)/misc.a $(CC) $(CFLAGS) -o subclonedb $(SRC)/subclonedb.c $(MISCBIN)/misc.a update_subclones : $(SRC)/update_subclones.c $(MISCBIN)/misc.a $(CC) $(CFLAGS) -o update_subclones $(SRC)/update_subclones.c $(MISCBIN)/misc.a # # Special dependencies # all: $(PROGS) clean: /bin/rm -f $(PROGS) %.o: $(SRC)/%.c $(CC) $(CFLAGS) -c $<