dev/vala/extern_c/test.sh

6 lines
148 B
Bash
Executable File

#!/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`