Subversion Repositories RepoView

Rev

Rev 3 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 1 2024-08-20 19:18:25Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
8
OBJS = main.o sanity.o version.o util.o query.o page.o $(EXTOBJS)
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