Code refactoring for the variables support
[clinton/Virtual-Jaguar-Rx.git] / jaguarcore.mak
index 1ee07ce..2e5b8a1 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for Virtual Jaguar core library\r
 #\r
 # by James Hammons\r
-# Edited by Jean-Paul Mari\r
+# Modified by Jean-Paul Mari\r
 #\r
 # This software is licensed under the GPL v3 or any later version. See the\r
 # file LICENSE file for details. ;-)\r
@@ -43,6 +43,7 @@ AR      := $(CROSS)ar
 ARFLAGS := -rs\r
 \r
 SDL_CFLAGS = `$(CROSS)sdl-config --cflags`\r
+QT_CFLAGS = -fPIC -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore\r
 DEFINES = -D$(SYSTYPE)\r
 GCC_DEPS = -MMD\r
 \r
@@ -71,6 +72,7 @@ OBJS := \
        obj/memory.o       \\r
        obj/memtrack.o     \\r
        obj/mmu.o          \\r
+       obj/modelsBIOS.o   \\r
        obj/op.o           \\r
        obj/state.o        \\r
        obj/tom.o          \\r
@@ -94,6 +96,6 @@ obj/libjaguarcore.a: $(OBJS)
 \r
 obj/%.o: src/%.cpp\r
        @echo -e "\033[01;33m***\033[00;32m Compiling $<...\033[00m"\r
-       $(Q)$(CC) $(GCC_DEPS) $(CXXFLAGS) $(SDL_CFLAGS) $(DEFINES) $(INCS) -c $< -o $@\r
+       $(Q)$(CC) $(GCC_DEPS) $(CXXFLAGS) $(SDL_CFLAGS) $(QT_CFLAGS) $(DEFINES) $(INCS) -c $< -o $@\r
 \r
 -include obj/*.d\r