26 lines
486 B
Makefile
26 lines
486 B
Makefile
all: Getting_Started_with_GTK
|
|
|
|
|
|
CC=gcc
|
|
CFLAGS=`pkg-config --cflags gtk4 --libs gtk4`
|
|
WARNINGS = -Wall
|
|
DEBUG = -ggdb -fno-omit-frame-pointer
|
|
OPTIMIZE = -O2
|
|
|
|
|
|
Getting_Started_with_GTK: main.c
|
|
$(CC) $(CFLAGS) $(WARNINGS) $(DEBUG) $(OPTIMIZE) -o $@ main.c
|
|
|
|
clean:
|
|
rm -f Getting_Started_with_GTK
|
|
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:
|
|
./exec
|
|
|