Subversion Repositories RepoView

Rev

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 33 2024-08-22 02:15:44Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
33 nishi 8
OBJS = main.o sanity.o version.o util.o query.o page.o sha512.o md5.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