From d5e0985114d659ec5f3e4d51faf4e329630b2443 Mon Sep 17 00:00:00 2001 From: Brady McDonough Date: Sun, 26 Mar 2023 19:41:24 -0600 Subject: [PATCH] Separated source directory --- Makefile | 7 +++---- listlogic.scm => tk/listlogic.scm | 0 mcron.scm => tk/mcron.scm | 0 ports.scm => tk/ports.scm | 0 short.scm => tk/short.scm | 0 5 files changed, 3 insertions(+), 4 deletions(-) rename listlogic.scm => tk/listlogic.scm (100%) rename mcron.scm => tk/mcron.scm (100%) rename ports.scm => tk/ports.scm (100%) rename short.scm => tk/short.scm (100%) diff --git a/Makefile b/Makefile index 0ae0b4c..95b1c20 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,13 @@ OBJ := listlogic.go mcron.go ports.go short.go .PHONY: all clean install uninstall all: $(OBJ) -%.go: %.scm +%.go: tk/%.scm GUILE_AUTO_COMPILE=0 guild compile $< -o $@ install: - mkdir -p $(TARGET)/tk - cp -f *.scm $(TARGET)/tk + cp -fr tk $(TARGET) mkdir -p $(CCACHE)/tk - cp -f *.go $(CCACHE)/tk + cp -f *.go $(CCACHE)/tk uninstall: rm -fr $(TARGET)/tk diff --git a/listlogic.scm b/tk/listlogic.scm similarity index 100% rename from listlogic.scm rename to tk/listlogic.scm diff --git a/mcron.scm b/tk/mcron.scm similarity index 100% rename from mcron.scm rename to tk/mcron.scm diff --git a/ports.scm b/tk/ports.scm similarity index 100% rename from ports.scm rename to tk/ports.scm diff --git a/short.scm b/tk/short.scm similarity index 100% rename from short.scm rename to tk/short.scm