Subversion Repositories MLServ

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 4
Line 1... Line 1...
1
# $Id: Makefile 2 2024-09-07 02:00:41Z nishi $
1
# $Id: Makefile 4 2024-09-24 18:35:15Z nishi $
2
 
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
4
 
5
OBJS = main.o ../Common/common.a ../Common/database.a
5
OBJS = main.o ../Common/common.a
6
 
6
 
7
.PHONY: all clean install
7
.PHONY: all clean install
8
.SUFFIXES: .c .o
8
.SUFFIXES: .c .o
9
 
9
 
10
all: mlserv.cgi
10
all: mlserv.cgi
11
 
11
 
12
mlserv.cgi: $(OBJS)
12
mlserv.cgi: $(OBJS)
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lsqlite3
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
14
 
14
 
15
.c.o:
15
.c.o:
16
	$(CC) $(CFLAGS) -c -o $@ $<
16
	$(CC) $(CFLAGS) -c -o $@ $<
17
 
17
 
18
install: all
18
install: all