GTK4_GG_hack/Makefile

27 lines
566 B
Makefile
Raw Normal View History

all: Getting_Started_with_GTK
2024-04-22 18:40:30 +02:00
CC=gcc
CFLAGS=`pkg-config --cflags gtk4 --libs gtk4`
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
clean:
rm -f Getting_Started_with_GTK
2024-04-22 18:40:30 +02:00
rm -f exec
# 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
// gcc $( pkg-config --cflags gtk4 ) -o exec main.c $( pkg-config --libs gtk4 )