From 44deb05b87def6928cfc0e772dd085b0e70def76 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Thu, 18 Jan 2024 16:33:50 +0100 Subject: [PATCH] fix: build error in tests Makefile --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 5f39b40..e72dfbc 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,12 +2,12 @@ SRC = lib_use.c OBJ = $(SRC:.c=.o) NAME = lib_use CFLAGS = -Wall -Wextra -Wpedantic -I../include -CLIBS = ../libpasm.a +CLIBS = ../build/libpasm.a all: $(NAME) $(NAME): $(OBJ) - cd .. && $(MAKE) lib + -cd .. && $(MAKE) lib gcc $(SRC) $(CFLAGS) $(CLIBS) -o $(NAME) clean: