Subversion Repositories MLServ

Rev

Rev 1 | Rev 4 | 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 2 2024-09-07 02:00:41Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
COMOBJS = string.o
6
DBOBJS = db.o
7
 
2 nishi 8
.PHONY: all clean install
1 nishi 9
.SUFFIXES: .c .o
10
 
11
all: common.a database.a
12
 
13
common.a: $(COMOBJS)
14
	$(AR) rcs $@ $(COMOBJS)
15
 
16
database.a: $(DBOBJS)
17
	$(AR) rcs $@ $(DBOBJS)
18
 
19
.c.o:
20
	$(CC) $(CFLAGS) -c -o $@ $<
21
 
2 nishi 22
install: all
23
 
1 nishi 24
clean:
25
	rm -f *.o *.a