Subversion Repositories Tewi

Rev

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

# $Id: Makefile 8 2024-09-13 11:18:23Z nishi $

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

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

OBJS = version.o main.o config.o server.o

all: tewi$(EXEC)

tewi$(EXEC): $(OBJS) ../Common/common.a
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) ../Common/common.a -lssl -lcrypto

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

clean:
        rm -f *.o tewi *.exe