source: Main/trunk/Common/Makefile@ 212

Last change on this file since 212 was 212, checked in by Nishi, on Oct 3, 2024 at 2:44:55 AM

compiles on vc6

  • Property svn:keywords set to Id
File size: 310 bytes
RevLine 
[2]1# $Id: Makefile 212 2024-10-02 17:44:55Z nishi $
2
[212]3OBJ=o
4STATIC=a
5AR_FLAGS=rcs
[2]6include $(PWD)/Platform/$(PLATFORM).mk
7
8.PHONY: all clean
[212]9.SUFFIXES: .c .$(OBJ)
[2]10
[212]11OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ)
[2]12
[212]13all: common.$(STATIC)
[2]14
[212]15common.$(STATIC): $(OBJS)
16 $(AR) $(AR_FLAGS)$@ $(OBJS)
[2]17
[212]18.c.$(OBJ):
[2]19 $(CC) $(CFLAGS) -c -o $@ $<
20
21clean:
[212]22 rm -f *.o *.a *.lib
Note: See TracBrowser for help on using the repository browser.