Subversion Repositories Tewi

Rev

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

Rev 44 Rev 48
Line 1... Line 1...
1
# $Id: Makefile 44 2024-09-18 09:37:09Z nishi $
1
# $Id: Makefile 48 2024-09-18 10:14: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
7
 
7
 
8
OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS)
8
OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
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) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
13
	$(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
14
 
14
 
15
.c.o:
15
.c.o:
16
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
16
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
17
 
17
 
-
 
18
tewi.res: tewi.rc tewi.ico
-
 
19
	$(WINDRES) tewi.rc -O coff -o $@
-
 
20
 
18
clean:
21
clean:
19
	rm -f *.o tewi *.exe
22
	rm -f *.o tewi *.exe