source:
Main/trunk/Module/Makefile@
18
Last change on this file since 18 was 18, checked in by , on Sep 14, 2024 at 9:42:40 AM | |
---|---|
|
|
File size: 248 bytes |
Rev | Line | |
---|---|---|
[17] | 1 | # $Id: Makefile 18 2024-09-14 00:42:40Z nishi $ |
2 | ||
3 | include $(PWD)/Platform/$(PLATFORM).mk | |
4 | ||
5 | .PHONY: all clean | |
6 | .SUFFIXES: .c .o .so | |
7 | ||
8 | all: mod_example.so | |
9 | ||
10 | .o.so: | |
[18] | 11 | $(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS) |
[17] | 12 | |
13 | .c.o: | |
14 | $(CC) $(CFLAGS) -fPIC -c -o $@ $< | |
15 | ||
16 | clean: | |
17 | rm -f *.o *.so *.a |
Note:
See TracBrowser
for help on using the repository browser.