Subversion Repositories Tewi

Rev

Rev 305 | Rev 315 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
17 nishi 1
# $Id: Makefile 314 2024-10-14 07:37:04Z nishi $
2
 
212 nishi 3
OBJ=o
4
STATIC=a
219 nishi 5
END=_dll
305 nishi 6
SHARED=-shared
17 nishi 7
include $(PWD)/Platform/$(PLATFORM).mk
8
 
9
.PHONY: all clean
212 nishi 10
.SUFFIXES: .c .$(OBJ) $(LIBSUF)
17 nishi 11
 
212 nishi 12
all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)
17 nishi 13
 
212 nishi 14
.$(OBJ)$(LIBSUF):
305 nishi 15
	$(CC) $(LDFLAGS) $(SHARED) -o $@ $< ../Common/common.$(STATIC) $(LIBS)
17 nishi 16
 
212 nishi 17
.c.$(OBJ):
215 nishi 18
	$(CC) $(CFLAGS) -I ../Server -c -o $@ $<
17 nishi 19
 
20
clean:
314 nishi 21
	rm -f *.o *.so *.a *.dll *.tds *.obj