-
-
Notifications
You must be signed in to change notification settings - Fork 117
/
Makefile.AppImage
32 lines (26 loc) · 1.12 KB
/
Makefile.AppImage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Reverse Engineer's Hex Editor
# Copyright (C) 2021 Daniel Collins <[email protected]>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published by
# the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
LINUXDEPLOY ?= linuxdeploy
APPIMAGE_NAME ?= rehex.AppImage
APPIMAGE_DIR ?= ./AppDir/
prefix := /usr/
CFLAGS += -DREHEX_APPIMAGE
CXXFLAGS += -DREHEX_APPIMAGE
all: $(APPIMAGE_NAME)
include Makefile
$(APPIMAGE_NAME): $(EXE)
$(MAKE) -f Makefile.AppImage DESTDIR=$(shell realpath $(APPIMAGE_DIR)) install
OUTPUT=$(APPIMAGE_NAME) $(LINUXDEPLOY) --plugin gtk --appdir $(APPIMAGE_DIR) --output appimage