Subversion Repositories Tewi

Rev

Rev 21 | Rev 215 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 212 2024-10-02 17:44:55Z nishi $

OBJ=o
STATIC=a
AR_FLAGS=rcs 
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)$@ $(OBJS)

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

clean:
        rm -f *.o *.a *.lib