Parcourir la source

Make Makefile PREFIX overridable

User may not want or be able to install in /usr, and want to specify an
alternative.
Andrew Marshall il y a 3 ans
Parent
commit
4474854664
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -4,7 +4,7 @@
 VERSION = 0.1
 
 # paths
-PREFIX = /usr
+PREFIX ?= /usr
 
 PROJDIRS := src
 SRCFILES := $(shell find $(PROJDIRS) -type f -name "*.cc")