source:
Main/trunk/Common/Makefile@
3
Last change on this file since 3 was 3, checked in by , on Sep 13, 2024 at 6:06:44 PM | |
---|---|
|
|
File size: 218 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | # $Id: Makefile 3 2024-09-13 09:06:44Z 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) | |
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.