In Examples/Makefile.in, compile and link the program in go and

go_cpp, rather than in go_run.  This permits eliminating go_run_cpp.
This commit is contained in:
Ian Lance Taylor 2013-12-20 08:14:45 -08:00
commit 01ebdc0995
7 changed files with 27 additions and 30 deletions

View file

@ -6,7 +6,7 @@ INTERFACE = example.i
LIBS = -lm
check: build
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run_cpp
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \