Subversion Repositories MLServ

Rev

Rev 1 | Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 2
Line 1... Line 1...
1
# $Id: Makefile 1 2024-09-07 01:58:02Z nishi $
1
# $Id: Makefile 2 2024-09-07 02:00:41Z 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
6
DBOBJS = db.o
6
DBOBJS = db.o
7
 
7
 
8
.PHONY: all clean
8
.PHONY: all clean install
9
.SUFFIXES: .c .o
9
.SUFFIXES: .c .o
10
 
10
 
11
all: common.a database.a
11
all: common.a database.a
12
 
12
 
13
common.a: $(COMOBJS)
13
common.a: $(COMOBJS)
Line 17... Line 17...
17
	$(AR) rcs $@ $(DBOBJS)
17
	$(AR) rcs $@ $(DBOBJS)
18
 
18
 
19
.c.o:
19
.c.o:
20
	$(CC) $(CFLAGS) -c -o $@ $<
20
	$(CC) $(CFLAGS) -c -o $@ $<
21
 
21
 
-
 
22
install: all
-
 
23
 
22
clean:
24
clean:
23
	rm -f *.o *.a
25
	rm -f *.o *.a