aboutsummaryrefslogtreecommitdiff
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 1b072c6f1..11dd355b2 100644
--- a/quantum/serial_link/tests/Makefile
+++ b/quantum/serial_link/tests/Makefile
@@ -1,17 +1,17 @@
1# The MIT License (MIT) 1# The MIT License (MIT)
2# 2#
3# Copyright (c) 2016 Fred Sundvik 3# Copyright (c) 2016 Fred Sundvik
4# 4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy 5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal 6# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights 7# in the Software without restriction, including without limitation the rights
8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9# copies of the Software, and to permit persons to whom the Software is 9# copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions: 10# furnished to do so, subject to the following conditions:
11# 11#
12# The above copyright notice and this permission notice shall be included in all 12# The above copyright notice and this permission notice shall be included in all
13# copies or substantial portions of the Software. 13# copies or substantial portions of the Software.
14# 14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -21,7 +21,7 @@
21# SOFTWARE. 21# SOFTWARE.
22 22
23CC = gcc 23CC = gcc
24CFLAGS = 24CFLAGS =
25INCLUDES = -I. -I../../ 25INCLUDES = -I. -I../../
26LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared 26LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared
27LDLIBS = -lcgreen 27LDLIBS = -lcgreen
@@ -37,7 +37,7 @@ endif
37ifneq (, $(findstring CYGWIN, $(UNAME))) 37ifneq (, $(findstring CYGWIN, $(UNAME)))
38 EXT = .dll 38 EXT = .dll
39endif 39endif
40 40
41SRC = $(wildcard *.c) 41SRC = $(wildcard *.c)
42TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC)) 42TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC))
43$(shell mkdir -p $(DEPDIR) >/dev/null) 43$(shell mkdir -p $(DEPDIR) >/dev/null)
@@ -54,8 +54,8 @@ $(UNITOBJ)/%.o: %.c $(DEPDIR)/%.d
54 @mkdir -p $(UNITOBJ) 54 @mkdir -p $(UNITOBJ)
55 $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@ 55 $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@
56 @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d 56 @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d
57 57
58$(DEPDIR)/%.d: ; 58$(DEPDIR)/%.d: ;
59.PRECIOUS: $(DEPDIR)/%.d 59.PRECIOUS: $(DEPDIR)/%.d
60 60
61-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC))) \ No newline at end of file 61-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC)))