added in makefile to make it easy to compile after cloning :)
This commit is contained in:
parent
ed4cb2f8b9
commit
9bb31ad83c
2 changed files with 18 additions and 14 deletions
18
Makefile
Normal file
18
Makefile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue