commit 09c926950e133fd5862ac57ded9d80da1442ac51
parent 0f1f528b98e0b17b49ccf413f8de25c111a2a700
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 13 Dec 2018 08:45:57 -0500
Fix order of make target arguments and fix clean target
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,7 @@ st/st: st/config.h
@echo "Building st"
make -C st
-st/config.h: st/ config.h
+st/config.h: config.h st/
@echo "Copying custom configuration to source directory"
cp $< $@
@@ -13,4 +13,5 @@ st/:
git clone git://git.suckless.org/st
.PHONY: clean
-clean: st/
+clean:
+ $(RM) -r st/