CXXFLAGS = `gtkmm-config --cflags` -g LDFLAGS = `gtkmm-config --libs` TARGETS = hello hello_managed c_exception c_exception_fexceptions all: $(TARGETS) clean: rm -f $(TARGETS) *.o *~ hello: hello.cc hello_managed: hello_managed.cc c_exception: c_exception.o c_exception.cc g++ -g -o c_exception c_exception.o c_exception.cc c_exception_fexceptions: c_exception_fexceptions.o c_exception.cc g++ -g -o c_exception_fexceptions c_exception_fexceptions.o c_exception.cc c_exception.o: c_exception.c gcc -g -c c_exception.c c_exception_fexceptions.o: c_exception.c gcc -g -c c_exception.c -fexceptions -o c_exception_fexceptions.o