Advertisement
Guest User

Makefile

a guest
Dec 12th, 2011
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. all: CRRCsim
  2.  
  3. TARBALL = build/crrcsim-0.9.11.tar.gz
  4. TARBALL_URL = http://download.berlios.de/crrcsim/crrcsim-0.9.11.tar.gz
  5. UNPACK_CMD = tar xvf
  6. SOURCE_DIR = build/crrcsim-0.9.11
  7. TARBALL_PATCH =
  8. MD5SUM_FILE = crrcsim-0.9.11.tar.gz.md5sum
  9.  
  10. include $(shell rospack find mk)/download_unpack_build.mk
  11.  
  12.  
  13. INSTALL_DIR = $(shell rospack find CRRCsim)/CRRCsim
  14. EXECUTABLE_DIR = $(shell rospack find CRRCsim)/bin
  15.  
  16.  
  17. CRRCsim: $(INSTALL_DIR)/installed
  18.  
  19. $(INSTALL_DIR)/installed: $(SOURCE_DIR)/unpacked
  20. mkdir -p src
  21. mkdir -p bin
  22. cd $(SOURCE_DIR) && ./configure && make
  23. cp $(SOURCE_DIR)/crrcsim $(EXECUTABLE_DIR)
  24. touch installed
  25.  
  26. clean:
  27. rm -rf $(SOURCE_DIR) $(INSTALL_DIR)
  28.  
  29. wipe: clean
  30. rm -rf build
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement