aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 13:15:43 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 13:15:45 +0100
commit3adbd6c3d7dc29360ab7905f165f5ce1d410d5e4 (patch)
tree856002cd85b300b76d0047cade64160e1828b762
parentFix off by one error in scm_from_strbuf. (diff)
downloadcalp-3adbd6c3d7dc29360ab7905f165f5ce1d410d5e4.tar.gz
calp-3adbd6c3d7dc29360ab7905f165f5ce1d410d5e4.tar.xz
Made .x files secoundary in makefile.
This ensures that make doesn't remove the %.x file after building. Allowing all othter files to be fine with that file not changing, and speeding up builds.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 44573805..e1448eee 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ C_FILES = $(wildcard *.c)
SCM_C_FILES = $(wildcard *.scm.c)
X_FILES = $(SCM_C_FILES:.scm.c=.x)
+.SECONDARY: $(X_FILES)
+
O_FILES = $(addprefix obj/,$(C_FILES:.c=.o))
all: parse libguile-calendar.so