From 957e4995eda14377c036fda05958db0c8634f5d0 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 3 May 2021 18:22:20 -0400 Subject: select process, look at some memory --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.3