mirror of
https://git.suyu.dev/suyu/AppImageKit-checkrt.git
synced 2025-12-25 00:34:41 +01:00
18 lines
343 B
Makefile
18 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"
|
|
|