From 3adbd6c3d7dc29360ab7905f165f5ce1d410d5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 3 Feb 2019 13:15:43 +0100 Subject: 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. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3