mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-29 12:28:05 +00:00
Disabled debug output, renamed executable.
This commit is contained in:
parent
d81bc3571d
commit
43e9947345
@ -35,7 +35,7 @@ CC=gcc
|
|||||||
#To compile for cygwin: make ARCH=cygwin
|
#To compile for cygwin: make ARCH=cygwin
|
||||||
#To compile for openbsd: make ARCH=openbsd
|
#To compile for openbsd: make ARCH=openbsd
|
||||||
ARCH=openbsd
|
ARCH=openbsd
|
||||||
CFLAGS=-g -Wall -D$(ARCH) -DIPv4 -Os -fpack-struct -DLWIP_DEBUG
|
CFLAGS=-g -Wall -D$(ARCH) -DIPv4 -Os -fpack-struct
|
||||||
ARFLAGS=rs
|
ARFLAGS=rs
|
||||||
|
|
||||||
CONTRIBDIR=../../../..
|
CONTRIBDIR=../../../..
|
||||||
@ -77,11 +77,11 @@ APPOBJS=$(notdir $(APPFILES:.c=.o))
|
|||||||
%.o:
|
%.o:
|
||||||
$(CC) $(CFLAGS) -c $(<:.o=.c)
|
$(CC) $(CFLAGS) -c $(<:.o=.c)
|
||||||
|
|
||||||
all ipv4 compile: echo_process
|
all ipv4 compile: echop
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(LWIPLIB) $(APPLIB) echo_process .depend* *.core core
|
rm -f *.o $(LWIPLIB) $(APPLIB) echop .depend* *.core core
|
||||||
|
|
||||||
depend dep: .depend
|
depend dep: .depend
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ $(LWIPLIB): $(LWIPOBJS)
|
|||||||
.depend: main.c $(LWIPFILES) $(APPFILES)
|
.depend: main.c $(LWIPFILES) $(APPFILES)
|
||||||
$(CCDEP) $(CFLAGS) -MM $^ > .depend || rm -f .depend
|
$(CCDEP) $(CFLAGS) -MM $^ > .depend || rm -f .depend
|
||||||
|
|
||||||
echo_process: .depend $(LWIPLIB) $(APPLIB) main.o $(APPFILES)
|
echop: .depend $(LWIPLIB) $(APPLIB) main.o $(APPFILES)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o echo_process main.o $(APPLIB) $(LWIPLIB)
|
$(CC) $(CFLAGS) $(LDFLAGS) -o echop main.o $(APPLIB) $(LWIPLIB)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user