Skip to content

Commit b84630b

Browse files
committed
better makefile
1 parent 766432e commit b84630b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ certgraph.mac: certgraph.go
1717
certgraph.exe: certgraph.go
1818
GOOS=windows GOARCH=386 go build -o certgraph.exe $^
1919

20-
release.linux: certgraph.linux
21-
zip certgraph.linux.$(GIT_DATE).zip $^
20+
certgraph.linux.$(GIT_DATE).zip: certgraph.linux
21+
zip $@ $^
2222

23-
release.mac: certgraph.mac
24-
zip certgraph.mac.$(GIT_DATE).zip $^
23+
certgraph.mac.$(GIT_DATE).zip: certgraph.mac
24+
zip $@ $^
2525

26-
release.win: certgraph.exe
27-
zip certgraph.win.$(GIT_DATE).zip $^
26+
certgraph.win.$(GIT_DATE).zip: certgraph.exe
27+
zip $@ $^
2828

29-
release: release.mac release.linux release.win
29+
release: certgraph.linux.$(GIT_DATE).zip certgraph.mac.$(GIT_DATE).zip certgraph.win.$(GIT_DATE).zip

0 commit comments

Comments
 (0)