ifeq "$(ARCH)" ""
ARCH = x86_64
endif
-CFLAGS ?=-arch $(ARCH) -gdwarf-2 -O0
+CFLAGS ?=-arch $(ARCH) -g -O0
CWD := $(shell pwd)
all: a.out hidden/libd.dylib
C_SOURCES := main.c functions.c
-CFLAGS ?= -gdwarf-2 -O3
+CFLAGS ?= -g -O3
include $(LEVEL)/Makefile.rules
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS :=-gdwarf-2 -O0 -std=c++11
+CFLAGS :=-g -O0 -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0 -std=c++11
+CFLAGS := -g -O0 -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
clean: OBJECTS+=$(wildcard main.d.*)
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
clean: OBJECTS+=$(wildcard main.d.*)
OBJC_SOURCES := main.m
-CFLAGS ?= -arch $(ARCH) -gdwarf-2 -O2
+CFLAGS ?= -arch $(ARCH) -g -O2
LDFLAGS = $(CFLAGS) -lobjc -framework Foundation
include $(LEVEL)/Makefile.rules
endif
endif
-CFLAGS ?= -gdwarf-2 -O0
+CFLAGS ?= -g -O0
CFLAGS += $(ARCHFLAG)$(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS)
CXXFLAGS +=$(CFLAGS)