Subversion Repositories RepoView

Rev

Rev 3 | Rev 24 | 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 10 2024-08-21 02:13:48Z 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:
16
	$(CC) -I $(PWD)/CGI $(CFLAGS) -c -o $@ $<
17
 
18
clean:
19
	rm -f *.cgi *.o */*.o