Skip to content

Commit

Permalink
Releases use gcc -dumpmachine as part of their naming
Browse files Browse the repository at this point in the history
  • Loading branch information
cbosoft committed Jul 31, 2019
1 parent 73468fc commit 0bc0e91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit 0bc0e91

Please sign in to comment.