#!/bin/bash

rm *.o
gcc -g -Wall -lpthread -lm `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` -c *.c
gcc -g -Wall -lpthread -lm `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` Global.o Dice_Funcs.o Gtk_Structs.o Gtk_Funcs.o Random.o 10k.o -o 10k