Skip to content
Snippets Groups Projects
Commit 630e1dc8 authored by Georg von Zengen's avatar Georg von Zengen
Browse files

Revert "makefile.inc is now better includable"

It did not work
This reverts commit a0afc594.
parent a0afc594
No related branches found
No related tags found
No related merge requests found
Pipeline #
DRIVER_PATH=$(dir $(lastword $(MAKEFILE_LIST)))
SRC_DIR=$(DRIVER_PATH)Src
INC_DIR=$(DRIVER_PATH)Inc
DRIVER_SOURCES=$(notdir $(wildcard Src/*.c))
CFLAGS+=-I$(INC_DIR)
CXXFLAGS+=-I$(INC_DIR)
OBJECTS+=$(addprefix $(BUILD_DIR)/,$(DRIVER_SOURCES:%.c=%.o))
$(BUILD_DIR)/%.o : $(SRC_DIR)/%.c
$(CC) $(CFLAGS) -o $@ -c $<
CFLAGS+=-I"Inc" -I"dw1000/Inc/"
SRC+=$(wildcard dw1000/Src/*.c)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment