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