Skip to content

Commit

Permalink
$< make (#745)
Browse files Browse the repository at this point in the history
* Apparently $< is not working propertly on FreeBSD.
Changing the Makefile from $< to bin/n works.

* Simplify mkdir
  • Loading branch information
kaiquekandykoga committed Nov 3, 2022
1 parent f0315af commit ca8d624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PREFIX ?= /usr/local

install: bin/n
mkdir -p $(PREFIX)/$(dir $<)
cp $< $(PREFIX)/$<
mkdir -p $(PREFIX)/bin
cp bin/n $(PREFIX)/bin/n

uninstall:
rm -f $(PREFIX)/bin/n
Expand Down

0 comments on commit ca8d624

Please sign in to comment.