Subversion Repositories RepoView

Rev

Rev 1 | Rev 10 | 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 3 2024-08-20 21:05:24Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
3 nishi 8
OBJS = main.o sanity.o version.o util.o query.o page.o sha512.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:
16
	$(CC) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<
17
 
18
clean:
19
	rm -f *.cgi *.o */*.o