dev/vala/extern_c/test.sh

6 lines
148 B
Bash
Raw Normal View History

2013-02-08 00:13:21 +04:00
#!/bin/sh
cc -c `pkg-config --cflags glib-2.0` c_code.c -o c_code.o
valac -c vala_code.vala
cc *.o -o app `pkg-config --libs glib-2.0 gobject-2.0`