# $Id$ EXTRA_CFLAGS = EXTRA_LDFLAGS = EXTRA_LIBS = .PHONY: all clean install all: ./html-manage ./html-manage: ./html-manage.o ./util.o ./db.o $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) ./html-manage.o: ./html-manage.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< ./util.o: ../Mandshurica/util.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< ./db.o: ../Mandshurica/db.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< install: cp ./html-manage $(TOOL_PREFIX)/ clean: rm -f ./html-manage *.o