scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 39928687d4b42e76cb93ae3a54b2ec0709231ef9
parent bc4f2cc0140a35b3aab00f14c801e96a6c21dd04
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 23 Aug 2019 16:40:21 +0100

[tests/ld] Add size rule

Diffstat:
Mtests/ld/execute/Makefile | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/ld/execute/Makefile b/tests/ld/execute/Makefile @@ -2,6 +2,7 @@ AS = z80-unknown-coff-as AR = ../../../bin/ar LD = ../../../bin/ld RL = ../../../bin/ranlib +SZ = ../../../bin/size OBJS = f1.o f2.o OBJLIB = f3.o @@ -13,8 +14,9 @@ a.out: $(OBJS) f.a f.a: $(OBJLIB) $(AR) -rv $@ $? - $(RL) $@ - rm $? + +size: + $(SZ) *.o *.a clean: - rm -f *.o *.a a.out + rm -f *.o *.a a.out core* *.dat