Browse Source

simplify makefile

Maxim Sokhatsky 11 years ago
parent
commit
685f32eeaf
1 changed files with 1 additions and 13 deletions
  1. 1 13
      Makefile

+ 1 - 13
Makefile

@@ -8,23 +8,11 @@ PLT_NAME := ~/.n2o_dialyzer.plt
 ERL_ARGS := -args_file $(VM) -config $(SYS)
 RUN_DIR ?= rels/web/devbox
 LOG_DIR ?= rels/web/devbox/logs
-N2O     := deps/n2o/priv/static
 APP     := apps/face/priv/static/nitrogen
 
-ifeq "$(SV)" "1"
-REBAR_D = -DLOG_VERBOSE=1
-endif
-
-ifeq "$(SD)" "1"
-REBAR_D = -DSERVER_LOG_VERBOSE=1 -DSERVER_LOG_DEBUG=1
-endif
-
-
 default: get-deps compile static-link
 static-link:
-	rm -rf $(N2O)
 	rm -rf $(APP)
-	ln -s ../../n2o_scripts $(N2O)
-	ln -s ../../../../deps/n2o/priv/static/n2o $(APP)
+	ln -s ../../../../deps/n2o_scripts/n2o $(APP)
 
 include otp.mk