Rev 17 | Rev 39 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 18 2024-09-14 00:42:40Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
.PHONY: all clean
.SUFFIXES: .c .o .so
all: mod_example.so
.o.so:
$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS)
.c.o:
$(CC) $(CFLAGS) -fPIC -c -o $@ $<
clean:
rm -f *.o *.so *.a