From fa815fa30036a2ddea063dce7e3ac1be2a373b4d Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 18 May 2015 17:59:29 -0400 Subject: back to sanity --- Makefile | 4 ++-- src/globals.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 88a86bb..22f290d 100644 --- a/Makefile +++ b/Makefile @@ -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 #include #include @@ -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 -- cgit v1.1