Browse Source

sensible build defaults

JNI-106
heck 5 years ago
parent
commit
432bb50dc5
  1. 6
      Makefile.conf
  2. 4
      local.conf.example

6
Makefile.conf

@ -9,9 +9,9 @@ PLATFORM:=$(shell uname | tr A-Z a-z)
# DEV ENV PATHS & CFG # DEV ENV PATHS & CFG
# The dev environment paths and configs are set to a default value which can be overridden by ./local.conf and overridden again by <subdir>/local.conf # The dev environment paths and configs are set to a default value which can be overridden by ./local.conf and overridden again by <subdir>/local.conf
######### Build Config Defaults ######### ######### Build Config Defaults #########
DEBUG=1 DEBUG=0
PREFIX=$(HOME)/local PREFIX=$(HOME)
YML2_PATH=$(HOME)/yml2 YML2_PATH=$(PREFIX)/src/yml2
YML2_PROC=$(YML2_PATH)/yml2proc $(YML2_OPTS) YML2_PROC=$(YML2_PATH)/yml2proc $(YML2_OPTS)
YML2_OPTS=--encoding=utf8 YML2_OPTS=--encoding=utf8
ENGINE_LIB_PATH=$(PREFIX)/lib ENGINE_LIB_PATH=$(PREFIX)/lib

4
local.conf.example

@ -5,7 +5,7 @@
# These example values here reflect the defaults # These example values here reflect the defaults
############ Install ########### ############ Install ###########
# PREFIX=$(HOME)/local # PREFIX=$(HOME)
######### C++ Compiler ######### ######### C++ Compiler #########
# Should work with clang and g++ # Should work with clang and g++
@ -16,7 +16,7 @@
# JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home # JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
############ YML2 ############## ############ YML2 ##############
# YML2_PATH=$(HOME)/code/yml2 # YML2_PATH=$(HOME)/src/yml2
########### Engine ############# ########### Engine #############
# ENGINE_LIB_PATH=$(PREFIX)/lib # ENGINE_LIB_PATH=$(PREFIX)/lib

Loading…
Cancel
Save