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