#!/bin/bash # Oct 30, 2022 # Kevin C. O'Kane #------------------------------------- # script to compile accompanying code #------------------------------------- #------------------------------------------------------------- # You need gtk4 to run this. The following (as root) will # install gtk4 # # apt install gtk-4* # apt install libgtk-4* #------------------------------------------------------------- gtk4-builder-tool simplify --3to4 part1.gtk3.glade > part1.glade gcc part1.c -o part1-bin $( pkg-config --cflags gtk4 ) -Wno-format \ -Wno-deprecated-declarations -Wno-format-security \ -lm `pkg-config --cflags --libs gtk4` -export-dynamic