diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-10-03 13:45:23 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-10-03 13:45:23 -0400 |
commit | f4f766f7f85a4f83ac21c037a55d0a717bd02c4d (patch) | |
tree | 77d19972269b4155365cb40e6601a4338cdc572f /Makefile | |
parent | 45e36030a20e77c109bd746e7be4a64a7c9a2fbd (diff) |
cleanup + linux packaging
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 + |