Skip to content

Commit

Permalink
Use install tool instead of cp
Browse files Browse the repository at this point in the history
  • Loading branch information
svlv committed Jun 23, 2024
1 parent d218739 commit 1394bfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ cpu-speed: ${OBJ}
$(CC) -o $@ ${OBJ} ${LIBS}

install: all
cp cpu-speed ${PREFIX}/bin
install -D -v cpu-speed ${PREFIX}/bin/cpu-speed

uninstall:
rm -f ${PREFIX}/bin/cpu-speed

clean:
rm -f *.${O} cpu-speed

0 comments on commit 1394bfa

Please sign in to comment.