Skip to content

Commit

Permalink
use ${TESTSRCS} instead of $^
Browse files Browse the repository at this point in the history
OpenBSD make complains that "Using $< in a non-suffix rule context
is a GNUmake idiom"
  • Loading branch information
omar-polo authored and epsilon-0 committed Feb 27, 2024
1 parent 7516c15 commit 78baeb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ check: test
test: all ${TESTOBJS}

${TESTOBJS}: ${TESTSRCS}
${CC} ${CFLAGS} -Isrc $< -o $@ -L. -limsg
${CC} ${CFLAGS} -Isrc ${TESTSRCS} -o $@ -L. -limsg
env -i LD_LIBRARY_PATH=. ./$@

clean:
Expand Down

0 comments on commit 78baeb7

Please sign in to comment.