aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:05:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:05:36 +0300
commitb6c913a12cad506ed6ee2864d76fa93132341558 (patch)
treebe6e00ac984a1814249adb2cd3f316548adc0cbb /Makefile
parent7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76 (diff)
downloadarching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.tar.gz
arching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.tar.bz2
arching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.zip
Fixes Makefile
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d90b8b7..6ed1ac2 100755
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@
CC=`which npx`
PLATFORM=`printf 'const os = require("os");console.log(os.platform())' | node`
ARCH=`printf 'const os = require("os");console.log(os.arch())' | node`
-TARGET="--target node18-$(PLATFORM)-$(ARCH)"
-OUTPUT="./build/ak-daemon"
-SOURCE="./api/index.js"
-CFLAGS="pkg"
+TARGET=-t node18-$(PLATFORM)-$(ARCH)
+OUTPUT=./build/ak-daemon
+SOURCE=./api/index.js
+CFLAGS=pkg
all:
$(CC) $(CFLAGS) $(TARGET) --output $(OUTPUT) $(SOURCE)