219b8523ce
git-svn-id: file:///raid/svn-personal/tewi/trunk@17 8739d7e6-ffea-ec47-b151-bdff447c6205
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
|