From b6c913a12cad506ed6ee2864d76fa93132341558 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Sep 2023 21:05:36 +0300 Subject: Fixes Makefile --- Makefile | 8 ++++---- 1 file 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) -- cgit v1.2.3