Subversion Repositories MLServ

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

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