Subversion Repositories RepoView

Rev

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

# $Id: Makefile 10 2024-08-21 02:13:48Z 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) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<

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