source: Main/2.03E/Common/Makefile@ 254

Last change on this file since 254 was 254, checked in by Nishi, on Oct 4, 2024 at 1:08:33 PM

add 2.03E

  • Property svn:keywords set to Id
File size: 436 bytes
RevLine 
[2]1# $Id: Makefile 254 2024-10-04 04:08:33Z nishi $
2
[212]3OBJ=o
4STATIC=a
[218]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
[218]16common.a: $(OBJS)
[254]17 rm -f common.a
[218]18 $(AR) rcs $@ `echo $(OBJS) | $(AR_PROC)`
19
20common.lib: $(OBJS)
[254]21 rm -f common.lib
[215]22 $(AR) $(AR_FLAGS)$@ `echo $(OBJS) | $(AR_PROC)`
[2]23
[212]24.c.$(OBJ):
[2]25 $(CC) $(CFLAGS) -c -o $@ $<
26
27clean:
[215]28 rm -f *.o *.a *.lib *.obj
Note: See TracBrowser for help on using the repository browser.