From e956a21a5ab6facf59d885b5e46b514aa4da09b0 Mon Sep 17 00:00:00 2001 From: C J Silverio Date: Sun, 26 Apr 2020 17:25:13 -0700 Subject: [PATCH] FIX: ACCIDENTALL LOST A TARGET --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index fe1ec7a..8289200 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ #!/bin/bash -OSES = apple-darwin unknown-linux-musl +OSES = apple-darwin unknown-linux-gnu unknown-linux-musl OS_TARGETS := $(foreach a,$(OSES),$(a)-arch) EXECS = LOUDBOT PRUNE SEED TEXTS = MALCOLM CATS SEEDS SHIPS STAR_FIGHTING @@ -9,19 +9,18 @@ NORMAL=\033[m all: release %.tar: %-build - @echo "$(TARGET)" - tar cf $@ -C target/x86_64-$*/release $(EXECS) - tar f $@ -r $(TEXTS) + @tar cf $@ -C target/x86_64-$*/release $(EXECS) + @tar f $@ -r $(TEXTS) %.tar.gz: %.tar @gzip $< %-build: - @echo "building for $*" + @echo "Building $(BOLD)$*$(NORMAL)..." @cross build --release --target x86_64-$* $(OS_TARGETS): %-arch: %.tar.gz - @echo " $(BOLD)$@$(NORMAL) done.\n" + @echo " done.\n" release: $(OS_TARGETS) @mkdir -p releases