# This is very simple Makefile for gtk_hello application.
# In real project, you will want to use real build system,
# such as automake and autoconf.

# If you have GTK+ development files installed in different location than
# system default, uncomment the following and adjust the path

# PKG_CONFIG_PATH="/usr/local/lib/pkg-config"
PKG_CONFIG=`PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags --libs gtk+-2.0`

all: hello sharphello

hello:
	gcc $(PKG_CONFIG) -o gtk_hello gtk_hello.c

sharphello:
	mcs -pkg:gtk-sharp -codepage:utf8 gtk_hello.cs

clean:
	rm gtk_hello
	rm gtk_hello.exe
