2024-04-20 11:17:01 +02:00
|
|
|
all: Getting_Started_with_GTK
|
|
|
|
|
|
|
|
|
2024-04-22 18:40:30 +02:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS=`pkg-config --cflags gtk4 --libs gtk4`
|
2024-04-20 11:17:01 +02:00
|
|
|
WARNINGS = -Wall
|
|
|
|
DEBUG = -ggdb -fno-omit-frame-pointer
|
|
|
|
OPTIMIZE = -O2
|
|
|
|
|
|
|
|
|
2024-04-22 18:40:30 +02:00
|
|
|
Getting_Started_with_GTK: main.c
|
|
|
|
$(CC) $(CFLAGS) $(WARNINGS) $(DEBUG) $(OPTIMIZE) -o $@ main.c
|
2024-04-20 11:17:01 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f Getting_Started_with_GTK
|
2024-04-22 18:40:30 +02:00
|
|
|
rm -f exec
|
2024-04-20 11:17:01 +02:00
|
|
|
|
|
|
|
# Builder will call this to install the application before running.
|
|
|
|
install:
|
|
|
|
echo "Installing is not supported"
|
|
|
|
|
|
|
|
# Builder uses this target to run your application.
|
|
|
|
run:
|
2024-04-22 18:40:30 +02:00
|
|
|
./exec
|
2024-04-20 11:17:01 +02:00
|
|
|
|