Skip to content

Commit

Permalink
Tntnet30: link now not valid treeview.js to treeview.ecpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kfb77 committed Feb 16, 2021
1 parent 5e4f42a commit 133a855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions javascript/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ all: libjavascript.a
$(call PRETTY_PRINT,"CC javascript/" $@)
$(Q)$(CXX) $(CXXFLAGS) $(TNTFLAGS) -c $(DEFINES) $(PLUGINFEATURES) $(INCLUDES) $<

ifeq ($(shell test $(TNTVERSION) -ge 30000; echo $$?),0)
%.cpp: %.ecpp
else
%.cpp: %.js
endif
$(call PRETTY_PRINT,"ECPP javascript/" $@)
$(Q)$(ECPPC) $(ECPPFLAGS) $(ECPPFLAGS_JS) -b -m "text/javascript" $<

Expand Down
1 change: 1 addition & 0 deletions javascript/treeview.ecpp

0 comments on commit 133a855

Please sign in to comment.