Simplification in common javascript example Makefile.

This commit is contained in:
Oliver Buchtala 2014-02-20 11:37:40 +01:00
commit 3f22a3d639

View file

@ -16,18 +16,7 @@ else
JSENGINE=node
endif
ifeq (node,$(JSENGINE))
SWIGOPT=-v8 -DBUILDING_NODE_EXTENSION=1
endif
ifeq (v8,$(JSENGINE))
SWIGOPT=-v8
endif
ifeq (jsc,$(JSENGINE))
SWIGOPT=-jsc
endif
SWIGOPT=-$(JSENGINE)
ifeq (node,$(JSENGINE))