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