diff options
-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) |