diff options
| author | anastasisg <anastasis@learnworlds.com> | 2025-02-18 23:18:55 +0200 |
|---|---|---|
| committer | anastasisg <anastasis@learnworlds.com> | 2025-02-18 23:18:55 +0200 |
| commit | dbce9b2cf2a3b310f426a4bfda0af6c502413e74 (patch) | |
| tree | 89eb27ee4bd9ad2066df2791a2f338abe52a488d /Makefile | |
| parent | eb921aa2931859f55b11f3cc42a7fadd147a58d9 (diff) | |
| download | xlnch-dbce9b2cf2a3b310f426a4bfda0af6c502413e74.tar.gz xlnch-dbce9b2cf2a3b310f426a4bfda0af6c502413e74.tar.bz2 xlnch-dbce9b2cf2a3b310f426a4bfda0af6c502413e74.zip | |
Gtk supportgtk
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,12 +1,13 @@ +PKG_CONFIG ?= pkg-config TARGET=xlnch PREFIX?=/usr/local MANUALS=$(PREFIX)/share/man SRC=*.c CC=gcc -CFLAGS=-D_GNU_SOURCE -std=c99 -pedantic +CFLAGS=-Wall $(shell $(PKG_CONFIG) --cflags gtk4) REL_FLAGS=-O3 DBG_FLAGS=-Wall -g3 -LIBS=-l X11 +LIBS=$(shell $(PKG_CONFIG) --libs gtk4) make: $(SRC) $(CC) $(REL_FLAGS) $(CFLAGS) -o $(TARGET) $^ $(LIBS) |
