Skip to content

Instantly share code, notes, and snippets.

@jthomaschewski
Forked from t-8ch/Makefile
Created April 3, 2018 19:19
Show Gist options
  • Select an option

  • Save jthomaschewski/781799d3f631dfe1cde2752cdc73116e to your computer and use it in GitHub Desktop.

Select an option

Save jthomaschewski/781799d3f631dfe1cde2752cdc73116e to your computer and use it in GitHub Desktop.
minimal mutter application with window management
#include <meta/main.h>
int main() {
GMainLoop *loop = g_main_loop_new(NULL, FALSE);
meta_init();
g_main_loop_run(loop);
}
CFLAGS=$(shell pkg-config --cflags libmutter-2) -Wl,-rpath,/usr/lib/mutter
LDLIBS=$(shell pkg-config --libs libmutter-2)
all: main
@jthomaschewski
Copy link
Copy Markdown
Author

fix for arch linux as of 03.04.2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment