mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Add initial port of uip TCP/IP stack
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
CC = sdcc
|
||||
CC_FLAGS = -mmcs51 -I. -I../hello-world
|
||||
ASM = sdas8051
|
||||
AFLAGS= -plosgff
|
||||
|
||||
SRCS = psock.c timer.c uip_arp.c uip.c uip-fw.c uiplib.c uip-neighbor.c uip-split.c
|
||||
OBJS = ${SRCS:.c=.rel}
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
%.rel: %.c
|
||||
$(CC) $(CC_FLAGS) -c $<
|
||||
|
||||
%.rel: %.asm
|
||||
${ASM} ${AFLAGS} $^
|
||||
|
||||
clean:
|
||||
rm *.ihx *.lk *.lst *.map *.mem *.rel *.rst *.sym *.bin
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
Reference in New Issue
Block a user