Subversion Repositories RepoView

Rev

Rev 1 | Rev 24 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 3 2024-08-20 21:05:24Z 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 $(EXTOBJS)

all: repoview.cgi

repoview.cgi: $(OBJS)
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTLIBS)

.c.o:
        $(CC) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<

clean:
        rm -f *.cgi *.o */*.o