added in makefile to make it easy to compile after cloning :)

This commit is contained in:
dvorakmortonxd 2026-09-03 13:06:00 +02:00
commit 9bb31ad83c
2 changed files with 18 additions and 14 deletions

18
Makefile Normal file
View file

@ -0,0 +1,18 @@
CC = gcc
CFLAGS = `pkg-config --cflags gtk4`
LIBS = `pkg-config --libs gtk4`
TARGET = sprechen
SRC = sprechen.c
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS)
clean:
rm -f $(TARGET)
run: $(TARGET)
./$(TARGET)
.PHONY: all clean run