Empty application for testing

This commit is contained in:
logicog
2025-07-11 15:50:55 +02:00
parent 37cee7692a
commit a2af2f9151
8 changed files with 1560 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
CC = sdcc
CC_FLAGS = -mmcs51 -I. -I../uip
ASM = sdas8051
AFLAGS= -plosgff
SRCS = hello-world.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