Procházet zdrojové kódy

Makefile: Update for dev.

parazyd před 4 roky
rodič
revize
4080fa7078
1 změnil soubory, kde provedl 5 přidání a 10 odebrání
  1. 5 10
      Makefile

+ 5 - 10
Makefile

@@ -1,14 +1,13 @@
 .POSIX:
 
+# Install prefix
 PREFIX = /usr/local
-DLURL = https://testnet.cashier.dark.fi
 
+# Cargo binary
 CARGO = cargo
-DLTOOL = wget -nv --show-progress -O-
-#DLTOOL = curl
 
 # Here it's possible to append "cashierd" and "gatewayd".
-BINS = drk darkfid
+BINS = drk darkfid cashierd gatewayd
 
 # Dependencies which should force the binaries to be rebuilt
 BINDEPS = \
@@ -17,15 +16,12 @@ BINDEPS = \
 	$(shell find token -type f) \
 	$(shell find sql -type f)
 
-all: $(BINS) mint.params spend.params
+all: $(BINS)
 
 $(BINS): $(BINDEPS)
 	$(CARGO) build --release --all-features --bin $@
 	cp target/release/$@ $@
 
-%.params:
-	$(DLTOOL) $(DLURL)/$@ > $@
-
 test:
 	$(CARGO) test --release --all-features
 
@@ -44,7 +40,6 @@ install: all
 	do \
 		cp -f example/config/$$i.toml $(DESTDIR)$(PREFIX)/share/doc/darkfi; \
 	done;
-	cp -f mint.params spend.params $(DESTDIR)$(PREFIX)/share/darkfi
 
 uninstall:
 	for i in $(BINS); \
@@ -55,7 +50,7 @@ uninstall:
 	rm -rf $(DESTDIR)$(PREFIX)/share/darkfi
 
 clean:
-	rm -f $(BINS) mint.params spend.params
+	rm -f $(BINS)
 
 distclean: clean
 	rm -rf target