Subversion Repositories MLServ

Rev

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

# $Id: Makefile 9 2024-09-25 01:17:09Z nishi $

include $(PWD)/Platform/$(PLATFORM).mk

COMOBJS = string.o version.o ipc.o
BEOBJS = db.o crypt.o

.PHONY: all clean install
.SUFFIXES: .c .o

all: common.a backend.a

common.a: $(COMOBJS)
        $(AR) rcs $@ $(COMOBJS)

backend.a: $(BEOBJS)
        $(AR) rcs $@ $(BEOBJS)

.c.o:
        $(CC) $(CFLAGS) -c -o $@ $<

install: all

clean:
        rm -f *.o *.a