From d9c9eaa6fbaa29e72d55a35041d213e1a12ae3b5 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 11 Aug 2018 00:29:28 +0100 Subject: [PATCH] trs80m1: simplify make clean --- Kernel/platform-trs80m1/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Kernel/platform-trs80m1/Makefile b/Kernel/platform-trs80m1/Makefile index fef41e35..5ce4fec7 100644 --- a/Kernel/platform-trs80m1/Makefile +++ b/Kernel/platform-trs80m1/Makefile @@ -27,8 +27,6 @@ OBJS = $(COBJS) $(C2OBJS) $(AOBJS) $(DISCARD_COBJS) $(DOBJS) $(DISCARD_DOBJS) $ CROSS_CCOPTS += -I../dev/ -JUNK = $(CSRCS:.c=.lst) $(CSRCS:.c=.asm) $(CSRCS:.c=.sym) $(ASRCS:.s=.lst) $(ASRCS:.s=.sym) $(CSRCS:.c=.rst) $(ASRCS:.s=.rst) - all: $(OBJS) trs80load.bin $(COBJS): %.rel: %.c @@ -53,7 +51,7 @@ $(NOBJS): %.rel: ../dev/net/%.c $(CROSS_CC) $(CROSS_CCOPTS) $(CROSS_CC_SEG2) -c $< clean: - rm -f $(OBJS) $(JUNK) core *~ + rm -f *.rel *.lst *.asm *.lst *.sym *.adb *.rst *.ihx core *~ image: trs80load.bin trs80load-m3.bin dd if=/dev/zero of=boot.raw bs=256 count=400 -- 2.34.1