13 lines
216 B
Makefile
13 lines
216 B
Makefile
CC = gcc
|
|
CFLAGS = `pkg-config --cflags gtk4`
|
|
LIBS = `pkg-config --libs gtk4`
|
|
|
|
TARGET = gtk_treeview_example
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): main.c
|
|
$(CC) -g $(CFLAGS) -o $(TARGET) main.c $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(TARGET)
|