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