# $Id: Makefile 32 2024-09-16 12:42:19Z nishi $ include $(PWD)/Platform/$(PLATFORM).mk .PHONY: all clean .SUFFIXES: .c .o OBJS = version.o main.o config.o server.o ssl.o http.o module.o strptime.o all: tewi$(EXEC) tewi$(EXEC): $(OBJS) ../Common/common.a $(CC) $(LDFLAGS) -o $@ $(OBJS) -lssl -lcrypto $(LIBS) ../Common/common.a .c.o: $(CC) $(CFLAGS) -c -o $@ $< clean: rm -f *.o tewi *.exe