Rev 2 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 4 2024-09-24 18:35:15Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
OBJS = main.o ../Common/common.a
.PHONY: all clean install
.SUFFIXES: .c .o
all: mlserv.cgi
mlserv.cgi: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
install: all
mkdir -p $(PREFIX)/cgi-bin
cp mlserv.cgi $(PREFIX)/cgi-bin/
clean:
rm -f *.o *.cgi