moved code here. still needs to update gh

This commit is contained in:
klein panic
2025-02-24 15:18:44 -05:00
parent 9ca9f577a4
commit 2726432fe1
106 changed files with 4816 additions and 0 deletions

20
brightness_menu/Makefile Normal file
View File

@@ -0,0 +1,20 @@
CC = gcc
CFLAGS = -Wall -Wextra -Iinclude `pkg-config --cflags gtk+-3.0`
LDFLAGS = -lncurses -lX11 -lXrandr `pkg-config --libs gtk+-3.0`
SRC = $(wildcard src/*.c)
OBJ = $(patsubst src/%.c, build/%.o, $(SRC))
TARGET = build/screen_control
all: $(TARGET)
$(TARGET): $(OBJ)
$(CC) -o $(TARGET) $(OBJ) $(LDFLAGS)
build/%.o: src/%.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f build/*.o $(TARGET)
.PHONY: all clean