source: Main/trunk/Common/Makefile@ 215

Last change on this file since 215 was 215, checked in by Nishi, on Oct 3, 2024 at 4:24:43 AM

can be compiled using bcc32 now

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