Skip to content

Commit

Permalink
Prevent fatal make error.
Browse files Browse the repository at this point in the history
Make would stop compilation of program if a link existed.
This is now fixed with a simple conditional.
  • Loading branch information
fstracke committed May 11, 2023
1 parent 42192b0 commit 2da2f97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ bin:
mkdir bin

bin/tests: bin tests
ifneq (, $(test -f "bin/tests"))
ln -s ../tests/bin bin/tests

endif
bin/cricket-client.so: bin
$(MAKE) -C cpu cricket-client.so
cp cpu/cricket-client.so bin
Expand Down

0 comments on commit 2da2f97

Please sign in to comment.