Subversion Repositories Tewi

Rev

Rev 11 | Rev 16 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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