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