diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-05-03 18:22:20 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-05-03 18:22:20 -0400 |
commit | 957e4995eda14377c036fda05958db0c8634f5d0 (patch) | |
tree | 82d3e3ec40992a0e383be14d0ddad059565e26ac /Makefile |
select process, look at some memory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c2d3e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +ALL_CFLAGS=$(CFLAGS) -Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu99 \ + -Wno-unused-function -Wno-unused-parameter -Wimplicit-fallthrough -Wno-format-truncation -Wno-unknown-warning-option \ + `pkg-config --libs --cflags gtk+-3.0` -rdynamic +DEBUG_CFLAGS=$(ALL_CFLAGS) -DDEBUG -O0 -g +RELEASE_CFLAGS=$(ALL_CFLAGS) -Ofast -g +PROFILE_CFLAGS=$(ALL_CFLAGS) -Ofast -g -DPROFILE=1 +NAME=pokemem +$(NAME): *.[ch] + $(CC) main.c -o $(NAME) $(DEBUG_CFLAGS) +release: *.[ch] + $(CC) main.c -o $(NAME) $(RELEASE_CFLAGS) +clean: + rm -f $(NAME) |