/trunk/Examples/r/class/Makefile

# · Makefile · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · dc33e39694cc940c48ecb69a4d975451 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. CXXSRCS = example.cxx
  4. TARGET = example
  5. INTERFACE = example.i
  6. all::
  7. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  8. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' r_cpp
  9. clean::
  10. $(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' r_clean
  11. check: all
  12. R CMD BATCH runme.R