diff options
Diffstat (limited to 'gtk-test/Makefile')
-rw-r--r-- | gtk-test/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 |