Преглед изворни кода

Make Makefile PREFIX overridable

User may not want or be able to install in /usr, and want to specify an
alternative.
Andrew Marshall пре 3 година
родитељ
комит
4474854664
1 измењених фајлова са 1 додато и 1 уклоњено
  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")