Subversion Repositories Tewi

Rev

Rev 18 | Rev 40 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
17 nishi 1
# $Id: Makefile 39 2024-09-17 12:20:48Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o .so
7
 
39 nishi 8
all: mod_example.so mod_cgi.so
17 nishi 9
 
10
.o.so:
18 nishi 11
	$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS)
17 nishi 12
 
13
.c.o:
14
	$(CC) $(CFLAGS) -fPIC -c -o $@ $<
15
 
16
clean:
17
	rm -f *.o *.so *.a