From a664bda36b9e28d3c2a89075441790b1842337d9 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 2 Feb 2023 13:39:12 +0100 Subject: Add target to compile maic.c of test-app --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 5fb97ed..597fe3f 100644 --- a/Makefile +++ b/Makefile @@ -23,5 +23,10 @@ all: ${LIBNAME:=.so} ${LIBNAME:=.a} clean: rm -f *.o ${LIBNAME}.* + +# Targets for testing application +main.o: + ${CC} ${CFLAGS} -c $< + test-app: main.o ${OBJ} ${CC} ${LDFLAGS} -o $@ main.o ${OBJ} -- cgit v1.2.3