From cdd60c0036503df6abdabfa035a35bb5ea17e905 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Tue, 24 Feb 2026 03:11:57 -0600 Subject: init --- make | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 make (limited to 'make') diff --git a/make b/make new file mode 100755 index 0000000..2fcfe88 --- /dev/null +++ b/make @@ -0,0 +1,17 @@ +#!/bin/sh + +DEBUG="" +LIB="-Ilib/ -lSDL2_gfx $(pkg-config --cflags --libs libpipewire-0.3) -I/usr/include/spa-0.2" + +while getopts "d" opt; do + case "$opt" in + d) DEBUG="-Wall -fsanitize=address -g" + ;; + esac +done + +shift $((OPTIND-1)) +[ "${1:-}" = "--" ] && shift + +printf "\n\nmaking project\n" +clang -o "audio_reactive" src/main.c $LIB `sdl2-config --cflags --libs` -lm $DEBUG -- cgit v1.3