Advertisement
mmu_man

Including a makefile engine from both nmake and gnumake

Sep 18th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.35 KB | None | 0 0
  1. # how to include a file named from the environment with both nmake and gnumake
  2. # this should allow creating templates and makefile engines that do work with both
  3. # François Revol (mmu_man)
  4. # this code is in the public domain
  5.  
  6. # MAGIC: DO NOT TOUCH
  7. #\
  8. !if "$(MAKE)" == "NMAKE"
  9. #\
  10. !include $(SOMEMKENGINE)
  11. #\
  12. !else
  13. include $(SOMEMKENGINE)
  14. #\
  15. !endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement