Subversion Repositories MLServ

Rev

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

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 1 2024-09-07 01:58:02Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
OBJS = main.o ../Common/common.a ../Common/database.a
6
 
7
.PHONY: all clean
8
.SUFFIXES: .c .o
9
 
10
all: mlserv$(EXEC)
11
 
12
mlserv$(EXEC): $(OBJS)
13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lsqlite3
14
 
15
.c.o:
16
	$(CC) $(CFLAGS) -c -o $@ $<
17
 
18
clean:
19
	rm -f *.o mlserv *.exe