Subversion Repositories Tewi

Rev

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