diff --git a/PPP3/Makefile b/PPP3/Makefile index a74bcc3..f7542fc 100644 --- a/PPP3/Makefile +++ b/PPP3/Makefile @@ -1,8 +1,10 @@ +ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) + all: - meson compile -C . 2>&1 | ../builddir/goc + meson compile -C . 2>&1 | ${ROOT_DIR}/builddir/goc build: meson compile -C . test: - @echo "../ex08.cpp:7:10: error: use of undeclared identifier \'oops\'" | ../builddir/goc + @echo "../ex08.cpp:7:10: error: use of undeclared identifier \'oops\'" | ${ROOT_DIR}/builddir/goc