diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | src/globals.h | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,9 +1,9 @@ -CC = clang +CC = cc SRC := $(wildcard src/*.c) OBJ := $(SRC:.c=.o) -CFLAGS = -Isrc/ -O3 -g -Wall -Wextra +CFLAGS = -Isrc/ -O0 -g -Wall -Wextra -std=c99 HEADERS := $(wildcard src/*.h) diff --git a/src/globals.h b/src/globals.h index 8e5ad76..cf83758 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1,3 +1,6 @@ +#ifndef _MARKET_SIM_H_ +#define _MARKET_SIM_H_ + #include <assert.h> #include <ctype.h> #include <stdbool.h> @@ -104,3 +107,5 @@ void debug_init(void); #endif void do_menu(struct player_t*, const struct command_t*, uint len, const char *prompt); + +#endif |