3

Can somebody tell me how can i use make files to combine and merge different javascript files. I have seen many different projects using different javascript files and later on merge by using MAKE utility.

Deep.

Deep
  • 39
  • 1
  • 2
  • 2
    I use ant for this purpose, if you're interested I can share my script. – stivlo Jan 24 '11 at 11:38
  • 2
    You can take a look at [jQuery's Makefile](https://github.com/jquery/jquery/blob/master/Makefile). – Thai Jan 24 '11 at 11:51
  • Merge as in appending one to another, or something more sophisticated? Do you know how to merge these files manually, from the command line? – Beta Jan 24 '11 at 13:13
  • There’s a pretty nice tutorial here: https://blog.jcoglan.com/2014/02/05/building-javascript-projects-with-make/ – Paul D. Waite Jan 19 '16 at 16:39
  • Does this answer your question? [Makefile to combine js files and make a compressed version](https://stackoverflow.com/questions/4413903/makefile-to-combine-js-files-and-make-a-compressed-version) – gre_gor Apr 23 '23 at 15:14

0 Answers0