Permalink
Browse files

Makefile: - is not valid

  • Loading branch information...
1 parent 3ca295d commit 7e659e2ae0e5a9765875538cc84a62da6f1878b2 @Aqua-Ye Aqua-Ye committed Mar 6, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 Makefile
View
14 Makefile
@@ -1,22 +1,22 @@
.PHONY: all clean run plugins $(EXE)
OPA ?= opa
-OPA-PLUGIN ?= opa-plugin-builder
-OPA-OPT ?= --parser js-like
-MINIMAL-VERSION = 1046
+OPA_PLUGIN ?= opa-plugin-builder
+OPA_OPT ?= --parser js-like
+MINIMAL_VERSION = 1046
EXE = mind_chat.exe
all: $(EXE)
plugins: plugins/mindwave/mindwave.js
- $(OPA-PLUGIN) --js-validator-off plugins/mindwave/mindwave.js -o mindwave.opp
- $(OPA) $(OPA-OPT) plugins/mindwave/mindwave.opa mindwave.opp
+ $(OPA_PLUGIN) --js-validator-off plugins/mindwave/mindwave.js -o mindwave.opp
+ $(OPA) $(OPA_OPT) plugins/mindwave/mindwave.opa mindwave.opp
$(EXE): plugins src/*.opa resources/*
- $(OPA) $(OPA-OPT) --minimal-version $(MINIMAL-VERSION) *.opp src/*.opa -o $(EXE)
+ $(OPA) $(OPA_OPT) --minimal-version $(MINIMAL_VERSION) *.opp src/*.opa -o $(EXE)
run: all
- ./$(EXE) $(RUN-OPT) || true ## prevent ugly make error 130 :) ##
+ ./$(EXE) $(RUN_OPT) || true ## prevent ugly make error 130 :) ##
clean:
rm -Rf *.opx* *.opp*

0 comments on commit 7e659e2

Please sign in to comment.