polished build procedure
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 01:56:58 +0000 (12:56 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 01:56:58 +0000 (12:56 +1100)
Makefile
manager/hourglass-web [deleted file]

index b9be89428386c4fd79caaa782b039307a2880bb3..8d20a06a62e85810f08cdff785bc7076ae8a010a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,14 @@
 MAIN = command.lsp
 LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
+BIN = hourglass hourglass-web
+
+all: $(BIN)
 
 hourglass: $(MAIN) $(LSP)
        packnl -w $@ $^
 
+hourglass-web:
+       $(MAKE) -C manager && mv manager/$@ $@
+
+clean:
+       rm -f $(BIN)
diff --git a/manager/hourglass-web b/manager/hourglass-web
deleted file mode 100755 (executable)
index 42cbd57..0000000
Binary files a/manager/hourglass-web and /dev/null differ