Subversion Repositories Tewi

Rev

Rev 8 | Rev 14 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
# $Id: Makefile 11 2024-09-13 12:47:34Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
11 nishi 8
OBJS = version.o main.o config.o server.o ssl.o
2 nishi 9
 
10
all: tewi$(EXEC)
11
 
3 nishi 12
tewi$(EXEC): $(OBJS) ../Common/common.a
6 nishi 13
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) ../Common/common.a -lssl -lcrypto
2 nishi 14
 
15
.c.o:
16
	$(CC) $(CFLAGS) -c -o $@ $<
17
 
18
clean:
19
	rm -f *.o tewi *.exe