diff --git a/Makefile b/Makefile index 7a4e1301..eb5dc0a0 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ TARGET ?= PicoDrive -CFLAGS += -Wall -ggdb -falign-functions=2 +CFLAGS += -Wall CFLAGS += -I. -DINLINE=inline ifndef DEBUG CFLAGS += -O2 -DNDEBUG -ffunction-sections @@ -13,6 +13,10 @@ endif #drc_debug = 7 #profile = 1 +ifneq ($(platform),emscripten) +CFLAGS += ggdb -falign-functions=2 +endif + all: config.mak target_