Skip to content

Commit

Permalink
(feat) Clean up Makefile
Browse files Browse the repository at this point in the history
Changes:
  - Updated dependances for dist to auto copy only when needed
  - Removed all 'cd' commands for in favor of make chdir flag.
  - substituted make for $(MAKE) for cross compatible make
  • Loading branch information
denzuko authored Mar 1, 2020
1 parent 9c42633 commit 121fd5d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ SHELL=/bin/bash

all: dist

dist:
cd supertab; make
cd findAndroidManifest; make
cp Javacomplete2.makefile javacomplete2/Makefile; cd javacomplete2; make
cp Snipmate.makefile snipmate/Makefile; cd snipmate; make
cd adbLogCat; make
dist: javacomplete2/Makefile snipmate/Makefile
@$(MAKE) -C supertab
@$(MAKE) -C findAndroidManifest
@$(MAKE) -C javacomplete2
@$(MAKE) -C snipmate
@$(MAKE) -C adbLogCat

javacomplete2/Makefile: Javacomplete2.makefile
@cp $< $@

snipmate/Makefile: Snipmate.makefile
@cp $< $@

0 comments on commit 121fd5d

Please sign in to comment.