Rev 10 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 24 2024-08-21 17:10:49Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
.PHONY: all clean
.SUFFIXES: .c .o
OBJS = main.o sanity.o version.o util.o query.o page.o sha512.o repo.o $(EXTOBJS)
all: repoview.cgi
repoview.cgi: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTLIBS)
.c.o:
$(CC) $(EXTCFLAGS) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<
clean:
rm -f *.cgi *.o */*.o