1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
default: @echo "Please specify a make target: install, clean, version." clean: rm -f `find . -name \*~` # Get the version from usr/sbin/laptop_mode. VERSION :=$(shell cat usr/sbin/laptop_mode | grep "LMTVERSION=" | sed 's/LMTVERSION=//g') version: @echo $(VERSION) install: ./install.sh |