# $Id$ include $(PWD)/Platform/$(PLATFORM).mk MLOBJS = main.o MLOBJS += server.o newlist.o MLOBJS += ../Common/common.a ../Common/backend.a .PHONY: all clean install .SUFFIXES: .c .o all: mlserv$(EXEC) mlserv$(EXEC): $(MLOBJS) $(CC) $(LDFLAGS) -o $@ $(MLOBJS) $(LIBS) $(CRYPTLIBS) -lsqlite3 .c.o: $(CC) $(CFLAGS) -c -o $@ $< install: all mkdir -p $(PREFIX)/bin cp mlserv$(EXEC) $(PREFIX)/bin/ clean: rm -f *.o mlserv *.exe