Subversion Repositories Tewi

Rev

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

Rev 255 Rev 305
Line 1... Line 1...
1
# $Id: Makefile 255 2024-10-04 04:08:58Z nishi $
1
# $Id: Makefile 305 2024-10-10 02:15:08Z nishi $
2
 
2
 
3
OBJ=o
3
OBJ=o
4
STATIC=a
4
STATIC=a
5
END=_dll
5
END=_dll
-
 
6
SHARED=-shared
6
include $(PWD)/Platform/$(PLATFORM).mk
7
include $(PWD)/Platform/$(PLATFORM).mk
7
 
8
 
8
.PHONY: all clean
9
.PHONY: all clean
9
.SUFFIXES: .c .$(OBJ) $(LIBSUF)
10
.SUFFIXES: .c .$(OBJ) $(LIBSUF)
10
 
11
 
11
all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)
12
all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)
12
 
13
 
13
.$(OBJ)$(LIBSUF):
14
.$(OBJ)$(LIBSUF):
14
	$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.$(STATIC) $(LIBS)
15
	$(CC) $(LDFLAGS) $(SHARED) -o $@ $< ../Common/common.$(STATIC) $(LIBS)
15
 
16
 
16
.c.$(OBJ):
17
.c.$(OBJ):
17
	$(CC) $(CFLAGS) -I ../Server -c -o $@ $<
18
	$(CC) $(CFLAGS) -I ../Server -c -o $@ $<
18
 
19
 
19
clean:
20
clean: