Subversion Repositories Tewi

Rev

Rev 39 | Rev 62 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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