From e4dbd976e9522d5fa17139126edf38d654f45b1d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 26 Feb 2021 18:23:22 +0100 Subject: Fix tests and libsimple_arraycpy and libsimple_arraymove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61d07da..cc1c5c9 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,9 @@ all: libsimple.a $(TESTS) $(OBJ): $(@:.o=.c) $(HDR) $(TESTS): $(@:=.o) test.o libsimple.a $(TESTS:=.o): $(@:.test.o=.c) $(HDR) test.h + test.o: test.c $(HDR) test.h + $(CC) -c -o $@ test.c $(CFLAGS) -DTEST -O0 -ffreestanding libsimple.a: $(OBJ) $(AR) rc $@ $? -- cgit v1.2.3-70-g09d2