Subversion Repositories Tewi

Rev

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

Rev 126 Rev 212
Line 1... Line 1...
1
# $Id: Makefile 126 2024-09-22 16:40:40Z nishi $
1
# $Id: Makefile 212 2024-10-02 17:44:55Z nishi $
2
 
2
 
-
 
3
OBJ=o
-
 
4
STATIC=a
3
include $(PWD)/Platform/$(PLATFORM).mk
5
include $(PWD)/Platform/$(PLATFORM).mk
4
 
6
 
5
.PHONY: all clean
7
.PHONY: all clean
6
.SUFFIXES: .c .o $(LIB)
8
.SUFFIXES: .c .$(OBJ) $(LIBSUF)
7
 
9
 
8
all: mod_cgi$(LIB) mod_proxy$(LIB)
10
all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)
9
 
11
 
10
.o$(LIB):
12
.$(OBJ)$(LIBSUF):
11
	$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS)
13
	$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.$(STATIC) $(LIBS)
12
 
14
 
13
.c.o:
15
.c.$(OBJ):
14
	$(CC) $(CFLAGS) -c -o $@ $<
16
	$(CC) $(CFLAGS) -c -o $@ $<
15
 
17
 
16
clean:
18
clean:
17
	rm -f *.o *.so *.a *.dll
19
	rm -f *.o *.so *.a *.dll *.dll