summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2020-11-20 17:54:14 +0000
committerZoRo <dos21h@gmail.com>2020-11-20 17:54:14 +0000
commite41ad7adc31c26dfa8a9c31b6b16bda46f9b85a7 (patch)
treeb4a49f94e81d932d7163b44163115f1a2725769b /Makefile
parent677a52fe2323769619cd2fd15012a210f7d680e2 (diff)
downloadwasm_fractal-e41ad7adc31c26dfa8a9c31b6b16bda46f9b85a7.tar.gz
wasm_fractal-e41ad7adc31c26dfa8a9c31b6b16bda46f9b85a7.zip
Version that works kind of
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 31ecc79..6f3e457 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,10 @@ LDFLAGS=-lSDL2 -lSDL2_ttf -lGLESv2 -lGL
EM_LDFALGS=-s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS='["png"]' -s USE_SDL_TTF=2 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s LLD_REPORT_UNDEFINED -s USE_GLFW=3
make:
- $(CC) -c koh.c
- $(CC) -c fractal.c
+ $(CC) -c koh.c -g3 -pg
+ $(CC) -c fractal.c -g3 -pg
#$(CC) -c fractal2.c
- $(CC) koh.o fractal.o -o fractal $(LDFLAGS)
+ $(CC) koh.o fractal.o -o fractal $(LDFLAGS) -g3 -pg
#$(CC) koh.o fractal2.o -o fractal2 $(LDFLAGS)
emcc: