Subversion Repositories RepoView

Rev

Rev 10 | Rev 33 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 24 2024-08-21 17:10:49Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
10 nishi 8
OBJS = main.o sanity.o version.o util.o query.o page.o sha512.o repo.o $(EXTOBJS)
1 nishi 9
 
10
all: repoview.cgi
11
 
12
repoview.cgi: $(OBJS)
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTLIBS)
14
 
15
.c.o:
24 nishi 16
	$(CC) $(EXTCFLAGS) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<
1 nishi 17
 
18
clean:
19
	rm -f *.cgi *.o */*.o