18 lines
229 B
Makefile
18 lines
229 B
Makefile
|
# $Id$
|
||
|
|
||
|
include $(PWD)/Platform/$(PLATFORM).mk
|
||
|
|
||
|
.PHONY: all clean
|
||
|
.SUFFIXES: .c .o .so
|
||
|
|
||
|
all: mod_example.so
|
||
|
|
||
|
.o.so:
|
||
|
$(CC) $(LDFLAGS) -shared -o $@ $< $(LIBS)
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) -fPIC -c -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *.so *.a
|