# Makefile for TotoCalculator 2 (Linux with GTK+-2) # This works at least with OpenSuse 11.0 # See the Readme file for further information BIN_PROGRAM=TotoCalculator # If the dynamic library is not included in one of the following directories please provide # the appropriate place. GTKLIB = -L /opt/gnome/lib -L /lib -L /usr/lib -L /usr/local/lib -lgtk-x11-2.0 WXLIB = libwx_gtk2u_adv-2.8.a libwx_gtk2u_html-2.8.a libwx_gtk2u_core-2.8.a libwx_baseu-2.8.a libwxzlib-2.8.a # use tmtall_test.o instead of tmtall.o if you use a wxWidgets-Library # without the changes necessary for TotoCalculator 2. OBJECTS= \ tmtall.o libtomcrypt.a CXX = c++ LINKEROPTIONS = -s # ************************************************************************************************** all: $(BIN_PROGRAM) $(BIN_PROGRAM): $(OBJECTS) $(WXLIB) $(CXX) $(LINKEROPTIONS) -o $(BIN_PROGRAM) $(OBJECTS) $(WXLIB) $(GTKLIB) clean: rm -f $(BIN_PROGRAM)