Subversion Repositories MLServ

Rev

Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 1 2024-09-07 01:58:02Z nishi $

include $(PWD)/Platform/$(PLATFORM).mk

OBJS = main.o ../Common/common.a ../Common/database.a

.PHONY: all clean
.SUFFIXES: .c .o

all: mlserv.cgi

mlserv.cgi: $(OBJS)
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lsqlite3

.c.o:
        $(CC) $(CFLAGS) -c -o $@ $<

clean:
        rm -f *.o *.cgi