mirror of
https://github.com/pygrum/gimmick
synced 2026-06-06 16:34:34 +00:00
15 lines
370 B
Makefile
15 lines
370 B
Makefile
.PHONY: build
|
|
CC64 = x86_64-w64-mingw32-gcc
|
|
|
|
SRC = example/main.c *.c
|
|
FLAGS = -s -Os -nostdlib -fno-asynchronous-unwind-tables
|
|
|
|
OUT = -o gimmick.exe
|
|
|
|
build:
|
|
$(CC64) $(FLAGS) $(SRC) $(OUT) -DDEBUG
|
|
python3 crypt.py -f gimmick.exe -o gimmick.exe -s .xdata .rodata
|
|
|
|
release:
|
|
$(CC64) $(FLAGS) $(SRC) $(OUT)
|
|
python3 crypt.py -f gimmick.exe -o gimmick.exe -s .xdata .rodata
|