From d6a897aa61fb13b435a7bc8798c7f7c78db1930c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 8 Sep 2016 10:43:22 +0200 Subject: [PATCH] (Emscripten) Target should work now --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a4e130..eb5dc0a 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_ -- 2.39.2