b717dd0690
git-svn-id: file:///raid/svn-personal/tewi/trunk@75 8739d7e6-ffea-ec47-b151-bdff447c6205
23 lines
465 B
Makefile
23 lines
465 B
Makefile
# $Id$
|
|
|
|
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 *.res
|