Subversion Repositories MLServ

Rev

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

Rev 5 Rev 9
Line 1... Line 1...
1
# $Id: Makefile 5 2024-09-25 00:19:35Z nishi $
1
# $Id: Makefile 9 2024-09-25 01:17:09Z nishi $
2
 
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
4
 
5
COMOBJS = string.o version.o db.o ipc.o crypt.o
5
COMOBJS = string.o version.o ipc.o
-
 
6
BEOBJS = db.o crypt.o
6
 
7
 
7
.PHONY: all clean install
8
.PHONY: all clean install
8
.SUFFIXES: .c .o
9
.SUFFIXES: .c .o
9
 
10
 
10
all: common.a
11
all: common.a backend.a
11
 
12
 
12
common.a: $(COMOBJS)
13
common.a: $(COMOBJS)
13
	$(AR) rcs $@ $(COMOBJS)
14
	$(AR) rcs $@ $(COMOBJS)
14
 
15
 
-
 
16
backend.a: $(BEOBJS)
-
 
17
	$(AR) rcs $@ $(BEOBJS)
-
 
18
 
15
.c.o:
19
.c.o:
16
	$(CC) $(CFLAGS) -c -o $@ $<
20
	$(CC) $(CFLAGS) -c -o $@ $<
17
 
21
 
18
install: all
22
install: all
19
 
23