b8c2411b4c
git-svn-id: file:///raid/svn-personal/tewi/trunk@6 8739d7e6-ffea-ec47-b151-bdff447c6205
20 lines
316 B
Makefile
20 lines
316 B
Makefile
# $Id$
|
|
|
|
include $(PWD)/Platform/$(PLATFORM).mk
|
|
|
|
.PHONY: all clean
|
|
.SUFFIXES: .c .o
|
|
|
|
OBJS = version.o main.o config.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
|