# Makefile for castabox by Adam Powell
# No copyright on this file, use it as you like.

# Uncomment this line to compile with -DDEBUG and see debugging output
# CFLAGS=-DDEBUG
all: castabox

include $(PETSC_DIR)/bmake/common/base

castabox: castabox.c
	$(CC) $^ -o $@ $(PETSC_DM_LIB_BASIC) -lluminate $(PETSC_INCLUDE) \
	  `pkg-config --cflags gtk+-2.0` #-DDEBUG

clean:
	rm -f castabox *~

