# $Id: Makefile 215 2024-10-02 19:24:43Z nishi $ OBJ=o STATIC=a AR_FLAGS=rcs AR_PROC=cat include $(PWD)/Platform/$(PLATFORM).mk .PHONY: all clean .SUFFIXES: .c .$(OBJ) OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ) all: common.$(STATIC) common.$(STATIC): $(OBJS) $(AR) $(AR_FLAGS)$@ `echo $(OBJS) | $(AR_PROC)` .c.$(OBJ): $(CC) $(CFLAGS) -c -o $@ $< clean: rm -f *.o *.a *.lib *.obj