Rev 1 | Rev 4 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 2 2024-09-07 02:00:41Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
COMOBJS = string.o
DBOBJS = db.o
.PHONY: all clean install
.SUFFIXES: .c .o
all: common.a database.a
common.a: $(COMOBJS)
$(AR) rcs $@ $(COMOBJS)
database.a: $(DBOBJS)
$(AR) rcs $@ $(DBOBJS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
install: all
clean:
rm -f *.o *.a