2024-09-13 17:41:07 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(PWD)/Platform/$(PLATFORM).mk
|
|
|
|
|
|
|
|
.PHONY: all clean
|
2024-09-17 12:31:08 +00:00
|
|
|
.SUFFIXES: .c .o $(LIB)
|
2024-09-13 17:41:07 +00:00
|
|
|
|
2024-09-17 12:31:08 +00:00
|
|
|
all: mod_cgi$(LIB)
|
2024-09-13 17:41:07 +00:00
|
|
|
|
2024-09-17 12:31:08 +00:00
|
|
|
.o$(LIB):
|
2024-09-14 00:42:40 +00:00
|
|
|
$(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS)
|
2024-09-13 17:41:07 +00:00
|
|
|
|
|
|
|
.c.o:
|
2024-09-17 12:31:08 +00:00
|
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
2024-09-13 17:41:07 +00:00
|
|
|
|
|
|
|
clean:
|
2024-09-18 20:02:26 +00:00
|
|
|
rm -f *.o *.so *.a *.dll
|