source:
Main/trunk/Common/Makefile@
130
Last change on this file since 130 was 21, checked in by , on Sep 14, 2024 at 9:39:39 PM | |
---|---|
|
|
File size: 227 bytes |
Rev | Line | |
---|---|---|
[2] | 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 | ||
[21] | 8 | OBJS = string.o log.o dir.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.