Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 1 2024-09-07 01:58:02Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
COMOBJS = string.o
DBOBJS = db.o
.PHONY: all clean
.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 $@ $<
clean:
rm -f *.o *.a