Line | |
---|
1 | # $Id: Makefile 366 2024-10-17 00:54:56Z nishi $
|
---|
2 |
|
---|
3 | OBJ=o
|
---|
4 | STATIC=a
|
---|
5 | END=_dll
|
---|
6 | SHARED=-shared
|
---|
7 | include $(PWD)/Platform/$(PLATFORM).mk
|
---|
8 |
|
---|
9 | .PHONY: all clean
|
---|
10 | .SUFFIXES: .c .$(OBJ) $(LIBSUF)
|
---|
11 |
|
---|
12 | all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)
|
---|
13 |
|
---|
14 | .$(OBJ)$(LIBSUF):
|
---|
15 | $(CC) $(LDFLAGS) $(SHARED) -o $@ $< $(LIBEXTRA) ../Common/common.$(STATIC) $(LIBS)
|
---|
16 |
|
---|
17 | .c.$(OBJ):
|
---|
18 | $(CC) $(CFLAGS) -I ../Server -c -o $@ $<
|
---|
19 |
|
---|
20 | clean:
|
---|
21 | rm -f *.o *.so *.a *.dll *.tds *.obj *.nlm
|
---|
Note:
See
TracBrowser
for help on using the repository browser.