From f4f766f7f85a4f83ac21c037a55d0a717bd02c4d Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 3 Oct 2021 13:45:23 -0400 Subject: cleanup + linux packaging --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1cf25fa..ed54903 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ sandbox: *.[ch] $(CC) -Wall -Wconversion -Wshadow -Wno-unused-function -I/usr/include/SDL2 main.c -DDEBUG=1 -O0 -g -o sandbox -lSDL2 -lm +release: + $(CC) -Wall -Wconversion -Wshadow -Wno-unused-function -I/usr/include/SDL2 main.c -O3 -o sandbox -lSDL2 -lm +sandbox-linux.tar.gz: release + tar --transform "s,^,FunctionSandbox/," -czf $@ sandbox sandboxes example.png + -- cgit v1.2.3