diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glutt-o-logique/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glutt-o-logique/Makefile b/src/glutt-o-logique/Makefile index d9ff944..2fd5f91 100644 --- a/src/glutt-o-logique/Makefile +++ b/src/glutt-o-logique/Makefile @@ -13,8 +13,8 @@ SIZE=arm-none-eabi-size BINDIR=bin SRCDIR=. -SOURCES=$(shell find -L $(SRCDIR) -name '*.s') -SOURCES+=$(shell find -L $(SRCDIR) -name '*.c') +ASOURCES=$(shell find -L $(SRCDIR) -name '*.s') +CSOURCES+=$(shell find -L $(SRCDIR) -name '*.c') HEADERS=$(shell find -L $(SRCDIR) -name '*.h') INC=$(shell find -L $(SRCDIR) -name '*.h' -exec dirname {} \; | uniq) @@ -22,7 +22,8 @@ INC+=../common/includes INCLUDES=$(INC:%=-I%) # Create object list -OBJECTS=$(SOURCES:%.c=obj/%.o) +OBJECTS=$(CSOURCES:%.c=obj/%.o) +OBJECTS+=$(ASOURCES:%.s=obj/%.o) # Define output files ELF & IHEX BINELF=outp.elf |