From 6ff0fa0bf05608ab7edd5e2a5555f7f2eff71da5 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 12 Jan 2011 14:16:32 +0100 Subject: [PATCH] Reintroduce make variables for compilation of C programs. May be useful for small test programs. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a80f025..127476b 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,16 @@ DEBUG_FLAGS += -g #DEBUG_FLAGS += -pg CHECK_FLAGS += -Wall -Wextra +CC := gcc CXX := g++ CPPFLAGS += -I $(SIMGRID_INSTALL_DIR)/include CPPFLAGS += $(CHECK_FLAGS) +#CFLAGS += -std=c99 +#CFLAGS += -fgnu89-inline # workaround simgrid bug +CFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS) + #CXXFLAGS += -std=c++0x CXXFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS) -- 2.39.5