Subversion Repositories Tewi

Rev

Rev 315 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 366 2024-10-17 00:54:56Z nishi $

OBJ=o
STATIC=a
END=_dll
SHARED=-shared
include $(PWD)/Platform/$(PLATFORM).mk

.PHONY: all clean
.SUFFIXES: .c .$(OBJ) $(LIBSUF)

all: mod_cgi$(LIBSUF) mod_proxy$(LIBSUF)

.$(OBJ)$(LIBSUF):
        $(CC) $(LDFLAGS) $(SHARED) -o $@ $< $(LIBEXTRA) ../Common/common.$(STATIC) $(LIBS)

.c.$(OBJ):
        $(CC) $(CFLAGS) -I ../Server -c -o $@ $<

clean:
        rm -f *.o *.so *.a *.dll *.tds *.obj *.nlm