(Emscripten) Target should work now
[picodrive.git] / Makefile
index 7a4e130..eb5dc0a 100644 (file)
--- 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_