Explorar o código

Make Makefile PREFIX overridable

User may not want or be able to install in /usr, and want to specify an
alternative.
Andrew Marshall %!s(int64=3) %!d(string=hai) anos
pai
achega
4474854664
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")