Subversion Repositories MLServ

Rev

Rev 2 | Rev 5 | Go to most recent revision | 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
COMOBJS = string.o
5
COMOBJS = string.o version.o db.o ipc.o
6
DBOBJS = db.o
-
 
7
 
6
 
8
.PHONY: all clean install
7
.PHONY: all clean install
9
.SUFFIXES: .c .o
8
.SUFFIXES: .c .o
10
 
9
 
11
all: common.a database.a
10
all: common.a
12
 
11
 
13
common.a: $(COMOBJS)
12
common.a: $(COMOBJS)
14
	$(AR) rcs $@ $(COMOBJS)
13
	$(AR) rcs $@ $(COMOBJS)
15
 
14
 
16
database.a: $(DBOBJS)
-
 
17
	$(AR) rcs $@ $(DBOBJS)
-
 
18
 
-
 
19
.c.o:
15
.c.o:
20
	$(CC) $(CFLAGS) -c -o $@ $<
16
	$(CC) $(CFLAGS) -c -o $@ $<
21
 
17
 
22
install: all
18
install: all
23
 
19