From b72ba45c79d88cca1d01c28b8cd67daa0a1919d6 Mon Sep 17 00:00:00 2001 From: MCorange Date: Thu, 30 May 2024 22:54:43 +0300 Subject: [PATCH] uwu --- Makefile | 1 + build.sh | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 build.sh diff --git a/Makefile b/Makefile index e92cdaa..61a5a9a 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ $(BIN): src/main.c src/plug.c modules/%.dim: src/modules/%.c + mkdir -p $(dir $@) $(CC) -o $@ $^ -rdynamic -shared -fPIC $(CCARGS) compile_commands.json: diff --git a/build.sh b/build.sh deleted file mode 100644 index 641002a..0000000 --- a/build.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/bash - -set -xe -mkdir -p modules - -CCARGS="-Isrc/include -Wall -pedantic" - -cc -o dim src/main.c src/plug.c $CCARGS -lX11 -ldl -cc -o modules/clocky.dim src/modules/clock.c -rdynamic -shared -fPIC $CCARGS -cc -o modules/battery.dim src/modules/battery.c -rdynamic -shared -fPIC $CCARGS - -