From: twinaphex Date: Thu, 8 Sep 2016 08:43:22 +0000 (+0200) Subject: (Emscripten) Target should work now X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6a897aa61fb13b435a7bc8798c7f7c78db1930c;p=picodrive.git (Emscripten) Target should work now --- 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_