source:
Main/trunk/Common/Makefile@
212
Last change on this file since 212 was 212, checked in by , on Oct 3, 2024 at 2:44:55 AM | |
---|---|
|
|
File size: 310 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | # $Id: Makefile 212 2024-10-02 17:44:55Z nishi $ |
2 | ||
[212] | 3 | OBJ=o |
4 | STATIC=a | |
5 | AR_FLAGS=rcs | |
[2] | 6 | include $(PWD)/Platform/$(PLATFORM).mk |
7 | ||
8 | .PHONY: all clean | |
[212] | 9 | .SUFFIXES: .c .$(OBJ) |
[2] | 10 | |
[212] | 11 | OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ) |
[2] | 12 | |
[212] | 13 | all: common.$(STATIC) |
[2] | 14 | |
[212] | 15 | common.$(STATIC): $(OBJS) |
16 | $(AR) $(AR_FLAGS)$@ $(OBJS) | |
[2] | 17 | |
[212] | 18 | .c.$(OBJ): |
[2] | 19 | $(CC) $(CFLAGS) -c -o $@ $< |
20 | ||
21 | clean: | |
[212] | 22 | rm -f *.o *.a *.lib |
Note:
See TracBrowser
for help on using the repository browser.