Skip to content

Commit 5fe2027

Browse files
committed
Add Makefile 'default' target
The command `make` runs the first Makefile target. Having the first target be called 'default' makes it obvious what is going on. I often specify no deps for the default target so running `make' prints: Nothing to be done for 'default'.
1 parent c7cf57a commit 5fe2027

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ GLJ-BINS=$(foreach platform,$(GO-PLATFORMS) \
6767

6868
GO-CMD := go$(GO-VERSION)
6969

70+
#-------------------------------------------------------------------------------
71+
default: all
72+
7073
all: gocmd stdlib-targets generate aot glj-imports glj-bins
7174

7275
gocmd:

0 commit comments

Comments
 (0)