From 0bc0e91ad3b56ef8c1054f1d5f5c5e0663dbe9e1 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 31 Jul 2019 13:23:55 +0100 Subject: [PATCH] Releases use `gcc -dumpmachine` as part of their naming --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 395ec8f..c319f84 100644 --- a/Makefile +++ b/Makefile @@ -35,20 +35,16 @@ CC = gcc CFLAGS = $(shell pkg-config --cflags gtk+-3.0) LINK = $(shell pkg-config --libs gtk+-3.0) -OSTR = DEFS := ifeq ($(OS),Windows_NT) DEFS += -D WINDOWS - OSTR = win else UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) DEFS += -D LINUX - OSTR = linux LINK += "-lX11" else DEFS += -D OSX - OSTR = osx endif endif @@ -81,4 +77,4 @@ touchmain: touch src/main.c release: syringepump - zip syringepump_$(OSTR).zip syringepump gui/main.ui README.md + zip syringepump_$(shell gcc -dumpmachine).zip syringepump gui/main.ui README.md