diff --git a/avr-makefile.inc b/avr-makefile.inc index 0e09617..abe498f 100644 --- a/avr-makefile.inc +++ b/avr-makefile.inc @@ -16,7 +16,7 @@ TESTLOG_DIR = testlog/ TESTPREFIX = nessie- CC = avr-gcc -override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$<) -I. -pedantic -std=c99 -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) +override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$(patsubst $(TESTSRC_DIR)%,%,$<)) -I. -pedantic -std=c99 -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) override LDFLAGS = -Wl,-Map, override ASFLAGS = -mmcu=$(MCU_TARGET) diff --git a/deps/test_src b/deps/test_src deleted file mode 120000 index 945c9b4..0000000 --- a/deps/test_src +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file