X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=588475bdc577df5dc6e440f6dda2ae0f97388891;hb=84162df45ca32c27cc56be3c98b6f91abc00586e;hp=8a95d99209dd1777fcb9155b08f31f8a92e9d792;hpb=c6e1e9779a5652b58ae638e40f4b01ccb223b0d0;p=picodrive.git diff --git a/Makefile b/Makefile index 8a95d99..588475b 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,7 @@ TARGET ?= PicoDrive CFLAGS += -Wall -ggdb -falign-functions=2 CFLAGS += -I. ifndef DEBUG -CFLAGS += -O3 -DNDEBUG -ffunction-sections -ifeq ($(findstring clang,$(CC)),) -LDFLAGS += -Wl,--gc-sections -endif +CFLAGS += -O3 -DNDEBUG endif #CFLAGS += -DEVT_LOG #CFLAGS += -DDRC_CMP @@ -221,6 +218,9 @@ ifndef DEBUG cpu/fame/famec.o: CFLAGS += -g0 -O2 -fno-expensive-optimizations endif +pico/carthw_cfg.c: pico/carthw.cfg + tools/make_carthw_c $< $@ + # random deps pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c