Rev | Line | |
---|
[2] | 1 | # $Id: Makefile 75 2024-09-19 10:27:29Z nishi $
|
---|
| 2 |
|
---|
| 3 | include $(PWD)/Platform/$(PLATFORM).mk
|
---|
| 4 |
|
---|
| 5 | .PHONY: all clean
|
---|
| 6 | .SUFFIXES: .c .o
|
---|
| 7 |
|
---|
[48] | 8 | OBJS = version.o main.o config.o server.o http.o module.o strptime.o $(EXTOBJS) $(PREOBJS)
|
---|
[2] | 9 |
|
---|
[62] | 10 | all: tewi$(EXEC)
|
---|
[2] | 11 |
|
---|
[3] | 12 | tewi$(EXEC): $(OBJS) ../Common/common.a
|
---|
[44] | 13 | $(CC) $(LDFLAGS) $(EXTLDFLAGS) -o $@ $(OBJS) $(EXTLIBS) $(LIBS) ../Common/common.a
|
---|
[2] | 14 |
|
---|
| 15 | .c.o:
|
---|
[44] | 16 | $(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
|
---|
[2] | 17 |
|
---|
[48] | 18 | tewi.res: tewi.rc tewi.ico
|
---|
| 19 | $(WINDRES) tewi.rc -O coff -o $@
|
---|
| 20 |
|
---|
[2] | 21 | clean:
|
---|
[75] | 22 | rm -f *.o tewi *.exe *.res
|
---|
Note:
See
TracBrowser
for help on using the repository browser.