Test new codebase in Fedora VM and push upstream

This commit is contained in:
gfhopper 2025-05-09 14:25:25 -04:00
parent 972806b56a
commit df366b8aba
14 changed files with 184 additions and 105 deletions

17
Makefile Normal file
View file

@ -0,0 +1,17 @@
CC = cc
CFLAGS = -g -std=c11 -DWLR_USE_UNSTABLE $(shell pkg-config --cflags wlroots-0.18 wayland-server) -Iinclude
LDFLAGS = $(shell pkg-config --libs wlroots-0.18 wayland-server)
SRC = src/main.c src/compositor.c src/renderer.c
OBJ = $(SRC:.c=.o)
BIN = panes
all: $(BIN)
$(BIN): $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)
clean:
rm -f $(OBJ) $(BIN)