diff --git a/.gitignore b/.gitignore index 888c348..391e12a 100644 --- a/.gitignore +++ b/.gitignore @@ -61,20 +61,6 @@ dkms.conf # debug information files *.dwo -# ---> CMake -CMakeLists.txt.user -CMakeCache.txt -CMakeFiles -CMakeScripts -Testing -Makefile -cmake_install.cmake -install_manifest.txt -compile_commands.json -CTestTestfile.cmake -_deps -CMakeUserPresets.json - # CLion # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c915f1 --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file