From 309fca35acfeb776a422d6140ddae8be0b1dbff0 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 26 Jan 2016 22:42:43 -0800 Subject: Don't use a symlink where #include would suffice Absolute symlinks break when the source is moved to another location. In the best case, the symlink will be replaced with a copy, but that creates code duplication. A user who got the packaged source may decide to change one config.c without realizing that another config.c will get the same changes. Don't ignore config.c, it's a regular source file now, albeit very short. Testing done: compiled inside and outside build directory. --- sesman/tools/config.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 sesman/tools/config.c (limited to 'sesman/tools/config.c') diff --git a/sesman/tools/config.c b/sesman/tools/config.c new file mode 100644 index 00000000..0f1399cc --- /dev/null +++ b/sesman/tools/config.c @@ -0,0 +1 @@ +#include "../config.c" -- cgit v1.2.3