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