source: Main/trunk/Common/Makefile@ 214

Last change on this file since 214 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
Line 
1# $Id: Makefile 212 2024-10-02 17:44:55Z nishi $
2
3OBJ=o
4STATIC=a
5AR_FLAGS=rcs
6include $(PWD)/Platform/$(PLATFORM).mk
7
8.PHONY: all clean
9.SUFFIXES: .c .$(OBJ)
10
11OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ)
12
13all: common.$(STATIC)
14
15common.$(STATIC): $(OBJS)
16 $(AR) $(AR_FLAGS)$@ $(OBJS)
17
18.c.$(OBJ):
19 $(CC) $(CFLAGS) -c -o $@ $<
20
21clean:
22 rm -f *.o *.a *.lib
Note: See TracBrowser for help on using the repository browser.