Changeset 212 in Main for trunk/Common/Makefile


Ignore:
Timestamp:
Oct 3, 2024, 2:44:55 AM (6 weeks ago)
Author:
Nishi
Message:

compiles on vc6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Makefile

    r21 r212  
    11# $Id$
    22
     3OBJ=o
     4STATIC=a
     5AR_FLAGS=rcs
    36include $(PWD)/Platform/$(PLATFORM).mk
    47
    58.PHONY: all clean
    6 .SUFFIXES: .c .o
     9.SUFFIXES: .c .$(OBJ)
    710
    8 OBJS = string.o log.o dir.o
     11OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ)
    912
    10 all: common.a
     13all: common.$(STATIC)
    1114
    12 common.a: $(OBJS)
    13         $(AR) rcs $@ $(OBJS)
     15common.$(STATIC): $(OBJS)
     16        $(AR) $(AR_FLAGS)$@ $(OBJS)
    1417
    15 .c.o:
     18.c.$(OBJ):
    1619        $(CC) $(CFLAGS) -c -o $@ $<
    1720
    1821clean:
    19         rm -f *.o *.a
     22        rm -f *.o *.a *.lib
Note: See TracChangeset for help on using the changeset viewer.