source:
Main/trunk/Common/Makefile@
6
Last change on this file since 6 was 6, checked in by , on Sep 13, 2024 at 7:28:20 PM | |
---|---|
|
|
File size: 221 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | # $Id: Makefile 6 2024-09-13 10:28:20Z nishi $ |
2 | ||
3 | include $(PWD)/Platform/$(PLATFORM).mk | |
4 | ||
5 | .PHONY: all clean | |
6 | .SUFFIXES: .c .o | |
7 | ||
[3] | 8 | OBJS = string.o log.o |
[2] | 9 | |
10 | all: common.a | |
11 | ||
12 | common.a: $(OBJS) | |
[6] | 13 | $(AR) rcs $@ $(OBJS) |
[2] | 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.