Adding uip lib support

This commit is contained in:
logicog
2025-07-06 09:55:12 +02:00
parent e0924314b4
commit f25cc47c5f
+7 -2
View File
@@ -5,11 +5,16 @@ CC_FLAGS = -mmcs51
ASM = sdas8051
AFLAGS= -plosgff
all: rtlplayground.bin injector
SUBDIRS := uip
all: $(SUBDIRS) rtlplayground.bin injector
SRCS= rtlplayground.c rtl837x_flash.c rtl837x_phy.c rtl837x_port.c cmd_parser.c
OBJS= ${SRCS:.c=.rel}
$(SUBDIRS):
$(MAKE) -C $@
clean:
if [ -e rtlplayground.bin ]; then rm rtlplayground.bin; fi
if [ -e rtlplayground.asm ]; then rm rtlplayground.asm; fi
@@ -38,5 +43,5 @@ rtlplayground.ihx: crtstart.rel $(OBJS)
injector: injector.c
gcc $^ -o $@
.PHONY: clean all
.PHONY: clean all $(SUBDIRS)
.PRECIOUS: %.rel %.ihx .img