diff options
author | Leo C | 2014-06-26 16:16:11 +0200 |
---|---|---|
committer | Leo C | 2014-06-26 16:16:11 +0200 |
commit | 78a3a76d0da08b39b370efc45e9c0ba1ee6bef26 (patch) | |
tree | efef27d4e2ad066a0452ef35d0c51f228e22bbf1 /stm32/Rules.mk | |
parent | d9c2b1b6505e365d55703b051596c90558fd1169 (diff) | |
download | z180-stamp-78a3a76d0da08b39b370efc45e9c0ba1ee6bef26.zip |
ROM files in Z180 dir
Diffstat (limited to 'stm32/Rules.mk')
-rw-r--r-- | stm32/Rules.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stm32/Rules.mk b/stm32/Rules.mk index 7811f8b..ddc8db3 100644 --- a/stm32/Rules.mk +++ b/stm32/Rules.mk @@ -2,10 +2,14 @@ BINARY := z180-stamp-stm32 P_BINARY := $(OBJPATH)/$(BINARY) -TARGETS := $(BINARY).elf #$(BINARY).bin +TARGETS := $(BINARY).elf -SRCS := z180-stamp-stm32.c serial.c z80-if.c hdrom.c +############################################################################### +# Source files +SRCS := z180-stamp-stm32.c serial.c z80-if.c hdrom.c + +SRCS_VPATH := ../Z180 LIBNAME = opencm3_stm32f1 DEFS = -DSTM32F1 -DDEBUG=2 @@ -32,8 +36,6 @@ OBJDUMP := $(TOOLCHAIN)-objdump GDB := $(TOOLCHAIN)-gdb ############################################################################### -# Source files - ifeq ($(VERBOSE),true) @@ -78,8 +80,6 @@ LDFLAGS += -Wl,--gc-sections LDLIBS += -l$(LIBNAME) LDLIBS += -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group - -############################################################################### ############################################################################### @@ -98,7 +98,7 @@ list: $(P_BINARY).list images: $(P_BINARY).images flash: $(P_BINARY).flash -%.images: %.bin %.hex %.srec %.list +%.images: %.bin %.hex %.list $(call echo_cmd,Images generated: $*) %.bin: %.elf |