# the next two lines are added by pgen

TARGET=popup_window
EIFFEL_GTK=$(EXG)/eiffel-gtk

# skeleton Makefile for pgen
# don't edit!
# nothing editable below this line 

DEBUG_EIFFLAGS=-cecil gtk_cecil -O0 -debug_check
DIST_EIFFLAGS=-cecil gtk_cecil -O9 -boost -no_split

LIBS=-L$(EIFFEL_GTK)/gtkwrapper/external -leiffel-gtk `gtk-config --libs` -ljpeg -lpng -ltiff -lz -lgif -lgdk_imlib

all : $(TARGET)

dist: external
	make clobber
	compile -verbose $(TARGET) make -o $(TARGET) $(DIST_EIFFLAGS) $(LIBS)
	
just_c:
	compile_to_c -verbose -cecil gtk_cecil -no_split -boost $(TARGET)

$(TARGET) : external 
	compile -verbose $(TARGET) make -o $(TARGET) $(DEBUG_EIFFLAGS) $(LIBS)

external : dummy
	make -C $(EIFFEL_GTK)/gtkwrapper/external

clean: 
	clean $(TARGET)
	rm -f *~ .*~ core gtk_eiffel.h

clobber:
	make clean
	rm -f $(TARGET) 

dummy : 


