summaryrefslogtreecommitdiff
path: root/quantum/serial_link/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/serial_link/tests/Makefile')
-rw-r--r--quantum/serial_link/tests/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/quantum/serial_link/tests/Makefile b/quantum/serial_link/tests/Makefile
index 1b072c6f1d..11dd355b22 100644
--- a/quantum/serial_link/tests/Makefile
+++ b/quantum/serial_link/tests/Makefile
@@ -1,17 +1,17 @@
# The MIT License (MIT)
-#
+#
# Copyright (c) 2016 Fred Sundvik
-#
+#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
-#
+#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
-#
+#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -21,7 +21,7 @@
# SOFTWARE.
CC = gcc
-CFLAGS =
+CFLAGS =
INCLUDES = -I. -I../../
LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared
LDLIBS = -lcgreen
@@ -37,7 +37,7 @@ endif
ifneq (, $(findstring CYGWIN, $(UNAME)))
EXT = .dll
endif
-
+
SRC = $(wildcard *.c)
TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC))
$(shell mkdir -p $(DEPDIR) >/dev/null)
@@ -54,8 +54,8 @@ $(UNITOBJ)/%.o: %.c $(DEPDIR)/%.d
@mkdir -p $(UNITOBJ)
$(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@
@mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d
-
+
$(DEPDIR)/%.d: ;
.PRECIOUS: $(DEPDIR)/%.d
--include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC))) \ No newline at end of file
+-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC)))