diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,9 @@ # $Id$ CC = g++ -CPPFLAGS = -Wall $$(pkg-config gtkmm-2.0 --cflags) # -D USE_64BITS_WORDS +CPPFLAGS += -D USE_64BITS_WORDS +CFLAGS = -O3 -g +CFLAGS += -Wall $$(pkg-config gtkmm-2.4 --cflags) LIBS = HEADERS = mtx.h mtxinteger.h mtxrational.h mtxmatrix.h mtxexception.h \ mtxdivbyzeroexception.h mtxsingularmatrixexception.h \ @@ -16,7 +18,7 @@ CLI_LIBS = -lreadline $(LIBS) CLI_OBJECTS = main_cli.o $(OBJECTS) CLI_BINARY = mtx_cli -GUI_LIBS = $$(pkg-config gtkmm-2.0 --libs) $(LIBS) +GUI_LIBS = $$(pkg-config gtkmm-2.4 --libs) $(LIBS) GUI_OBJECTS = main_gui.o mtxwindow.o mtxhistory.o mtxentry.o $(OBJECTS) GUI_BINARY = mtx_gui @@ -38,7 +40,7 @@ $(GUI_BINARY): $(GUI_OBJECTS) $(CC) -o $(GUI_BINARY) $(GUI_OBJECTS) $(GUI_LIBS) %.o: %.cc $(HEADERS) - $(CC) $(CPPFLAGS) -c $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) -c $< doc: doc/html/index.html |