mirror of
https://github.com/yuzu-emu/AppImageKit-checkrt.git
synced 2025-01-10 22:25:35 +00:00
19 lines
343 B
Makefile
19 lines
343 B
Makefile
CFLAGS ?= -O2 -Wall -Wextra
|
|
LDFLAGS += -s
|
|
BIN = AppRun_patched
|
|
|
|
|
|
all: $(BIN)
|
|
|
|
clean:
|
|
-rm -f $(BIN) *.o AppRun.c AppRun_patched.c
|
|
|
|
$(BIN): AppRun_patched.o checkrt.o
|
|
|
|
AppRun_patched.c: AppRun.c
|
|
patch -p1 --output $@ < AppRun.c.patch
|
|
|
|
AppRun.c:
|
|
wget -c "https://raw.githubusercontent.com/probonopd/AppImageKit/appimagetool/master/AppRun.c"
|
|
|