forked from idris-lang/Idris-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Phony targets should be dependencies of .PHONY, not the other way around.
- Loading branch information
1 parent
ef0b6ec
commit 23a28d5
Showing
11 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
check: .PHONY | ||
check: | ||
rm -f *.ibc | ||
for x in *.idr ; do \ | ||
echo "Checking $$x"; \ | ||
idris --check $$x; \ | ||
done | ||
|
||
.PHONY: | ||
.PHONY: check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
build: .PHONY | ||
build: | ||
$(MAKE) -C prelude build | ||
$(MAKE) -C base build | ||
$(MAKE) -C effects build | ||
$(MAKE) -C javascript build | ||
|
||
|
||
install: .PHONY | ||
install: | ||
$(MAKE) -C prelude install | ||
$(MAKE) -C base install | ||
$(MAKE) -C effects install | ||
$(MAKE) -C javascript install | ||
|
||
clean: .PHONY | ||
clean: | ||
$(MAKE) -C prelude clean | ||
$(MAKE) -C base clean | ||
$(MAKE) -C effects clean | ||
$(MAKE) -C javascript clean | ||
|
||
.PHONY: | ||
.PHONY: build install clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
IDRIS := idris | ||
|
||
build: .PHONY | ||
build: | ||
$(IDRIS) --build base.ipkg | ||
|
||
install: | ||
$(IDRIS) --install base.ipkg | ||
|
||
clean: .PHONY | ||
clean: | ||
$(IDRIS) --clean base.ipkg | ||
|
||
rebuild: clean build | ||
|
||
linecount: .PHONY | ||
linecount: | ||
find . -name '*.idr' | xargs wc -l | ||
|
||
.PHONY: | ||
.PHONY: build install clean rebuild linecount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
IDRIS := idris | ||
|
||
build: .PHONY | ||
build: | ||
$(IDRIS) --build effects.ipkg | ||
|
||
clean: .PHONY | ||
clean: | ||
$(IDRIS) --clean effects.ipkg | ||
|
||
install: | ||
$(IDRIS) --install effects.ipkg | ||
|
||
rebuild: clean build | ||
|
||
.PHONY: | ||
.PHONY: build clean install rebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
IDRIS := idris | ||
|
||
build: .PHONY | ||
build: | ||
$(IDRIS) --build javascript.ipkg | ||
|
||
install: | ||
$(IDRIS) --install javascript.ipkg | ||
|
||
clean: .PHONY | ||
clean: | ||
$(IDRIS) --clean javascript.ipkg | ||
|
||
rebuild: clean build | ||
|
||
.PHONY: | ||
.PHONY: build install clean rebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
IDRIS := idris | ||
|
||
build: .PHONY | ||
build: | ||
$(IDRIS) --build prelude.ipkg | ||
|
||
install: | ||
$(IDRIS) --install prelude.ipkg | ||
|
||
clean: .PHONY | ||
clean: | ||
$(IDRIS) --clean prelude.ipkg | ||
|
||
rebuild: clean build | ||
|
||
linecount: .PHONY | ||
linecount: | ||
find . -name '*.idr' | xargs wc -l | ||
|
||
.PHONY: | ||
.PHONY: build install clean rebuild linecount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ install: check | |
install $(LIBTARGET) $(TARGET) | ||
install $(HDRS) $(TARGET) | ||
|
||
.PHONY: | ||
.PHONY: check install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters