From 56450cda7b919ad3e5d167e9ebf67a0dba96375e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 6 Jul 2015 21:05:56 +0200 Subject: gtk test --- gtk-test/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gtk-test/Makefile (limited to 'gtk-test/Makefile') diff --git a/gtk-test/Makefile b/gtk-test/Makefile new file mode 100644 index 0000000..703facc --- /dev/null +++ b/gtk-test/Makefile @@ -0,0 +1,10 @@ +SHELL=/bin/bash + +all: + htoclean helloworld.h + cc -O -c helloworld.c `pkg-config --cflags --libs gtk+-3.0` + libs=""; for l in $$(pkg-config --libs gtk+-3.0); do libs="$$libs -l $$l"; done ; \ + clm $$libs -l -lglib-2.0 -l helloworld.o helloworld_test -o helloworld_test + +run: + ./helloworld_test -- cgit v1.2.3