basic x bullshittery

This commit is contained in:
2025-07-03 05:55:19 +02:00
parent f7d8292029
commit cbfff3f6f7
2 changed files with 112 additions and 0 deletions

18
x11/Makefile Normal file
View File

@ -0,0 +1,18 @@
CC = gcc
CFLAGS = -Wall -g
LDFLAGS = -lX11
TARGET = a.out
SRC = *.c
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDFLAGS)
clean:
rm -f $(TARGET)
run: $(TARGET)
$(MAKE) clean
$(MAKE) all
./$(TARGET)