diff options
Diffstat (limited to 'memdump')
-rw-r--r-- | memdump/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/memdump/Makefile b/memdump/Makefile index 44677239..6696020c 100644 --- a/memdump/Makefile +++ b/memdump/Makefile @@ -15,21 +15,10 @@ ## topdir = .. -include $(topdir)/MCONFIG - -GCCOPT := $(call gcc_ok,-m32,) \ - $(call gcc_ok,-ffreestanding,) \ - $(call gcc_ok,-fno-stack-protector,) \ - $(call gcc_ok,-falign-functions=0,-malign-functions=0) \ - $(call gcc_ok,-falign-jumps=0,-malign-jumps=0) \ - $(call gcc_ok,-falign-loops=0,-malign-loops=0) \ - -march=i386 -Os -fomit-frame-pointer -mregparm=3 -DREGPARM=3 \ - -msoft-float - -LD += -m elf_i386 -OPTFLAGS = -g +include $(topdir)/MCONFIG.embedded + +OPTFLAGS = INCLUDES = -include code16.h -I. -CFLAGS = $(GCCOPT) -W -Wall $(OPTFLAGS) $(INCLUDES) LDFLAGS = -T com16.ld SRCS = main.c serial.c ymsend.c |