diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 21:05:36 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 21:05:36 +0300 |
commit | b6c913a12cad506ed6ee2864d76fa93132341558 (patch) | |
tree | be6e00ac984a1814249adb2cd3f316548adc0cbb | |
parent | 7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76 (diff) | |
download | arching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.tar.gz arching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.tar.bz2 arching-kaos-tools-b6c913a12cad506ed6ee2864d76fa93132341558.zip |
Fixes Makefile
-rwxr-xr-x | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |