Subversion Repositories Tewi

Rev

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

# $Id: Makefile 62 2024-09-18 20:02:26Z nishi $

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

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

OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)

all: tewi$(EXEC)

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

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

tewi.res: tewi.rc tewi.ico
        $(WINDRES) tewi.rc -O coff -o $@

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