CC = gcc LD = gcc INCLUDES = -I . -I ../msgdb CFLAGS = -g -Wall -O -pipe $(INCLUDES) LFLAGS = INSTALL_PATH = .. # # Generally Makefile should not be edited below this line # OFILES = ranking.o files.o str.o util.o ranking: $(OFILES) rm -f ranking $(LD) $(LFLAGS) -o ranking $(OFILES) $(LIBS) depend: $(CC) -MM -Ih $(CFLAGS) $(OFILES:.o=.c) > .depend clean: rm -f $(OFILES) *.core ranking ctags: ctags -dtw $(OFILES:.o=.c) *.h comm/*.h compat/*.h db/*.h olc/*.h install: ranking install -b -m 750 ranking $(INSTALL_PATH)/bin .c.o: $(CC) $(CFLAGS) -o $@ -c $<