Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFLAGS= -pthread
- -I/usr/include/gtk-3.0
- -I/usr/include/pango-1.0
- -I/usr/include/atk-1.0
- -I/usr/include/cairo
- -I/usr/include/gdk-pixbuf-2.0
- -I/usr/include/glib-2.0
- -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
- all: libsgtk.so
- libsgtk.so: window.o
- gcc -shared -o libsgtk.so window.o
- window.o: window.c
- gcc $(CFLAGS) -c -fpic window.c
- clean:
- rm window.o
- install:
- mv libsgtk.so /usr/local/lib
Add Comment
Please, Sign In to add comment