From f25cc47c5ff1a64f9c19114143e0f36c0e664241 Mon Sep 17 00:00:00 2001 From: logicog Date: Sun, 6 Jul 2025 09:54:55 +0200 Subject: [PATCH] Adding uip lib support --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7b5c29d..075b4bb 100644 --- a/Makefile +++ b/Makefile @@ -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