[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [websocket/master] rm Makefile.
commit be285b1ea115fccda644ce35dfdef884309f81ad
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Fri Dec 18 22:19:31 2015 -0800
rm Makefile.
I'm more used to the "go build" approach now.
---
Makefile | 30 ------------------------------
1 file changed, 30 deletions(-)
diff --git a/Makefile b/Makefile
deleted file mode 100644
index b6ea18c..0000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-DESTDIR =
-PREFIX = /usr/local
-BINDIR = $(PREFIX)/bin
-
-GOBUILDFLAGS =
-# Alternate flags to use gccgo, allowing cross-compiling for x86 from
-# x86_64, and presumably better optimization. Install this package:
-# apt-get install gccgo-multilib
-# GOBUILDFLAGS = -compiler gccgo -gccgoflags "-O3 -m32 -static-libgo"
-
-all: websocket-server/websocket-server
-
-websocket-server/websocket-server: websocket-server/*.go websocket/*.go
- cd websocket-server && go build $(GOBUILDFLAGS)
-
-websocket-client/websocket-client: websocket-client/*.go
- cd websocket-client && go build $(GOBUILDFLAGS)
-
-install: websocket-server/websocket-server
- mkdir -p "$(DESTDIR)$(BINDIR)"
- cp -f websocket-server/websocket-server "$(DESTDIR)$(BINDIR)"
-
-clean:
- rm -f websocket-server/websocket-server websocket-client/websocket-client
- rm -f doc/websocket-server.1
-
-fmt:
- go fmt ./websocket-server ./websocket-client ./websocket
-
-.PHONY: all install clean fmt
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits