]> Shamusworld >> Repos - thunder/commitdiff
Final fixes for git pull/push kerfuffle. :-P
authorShamus Hammons <jlhamm@acm.org>
Fri, 13 Jan 2023 17:42:32 +0000 (11:42 -0600)
committerShamus Hammons <jlhamm@acm.org>
Fri, 13 Jan 2023 17:42:32 +0000 (11:42 -0600)
makefile
src/gui.h
src/screen.h
src/sound.cpp
src/thunder.cpp
src/video.h

index 722d9831a1222d9c7251bd0e3b2c6a6b1d271fa7..9c3d85ec4efb670b3e105fcd747c8cb53e90079f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -12,9 +12,8 @@ SYSTYPE    = __GCCWIN32__
 EXESUFFIX  = .exe
 GLLIB      = -lopengl32
 ICON       = obj/icon.o
-SDLLIBTYPE = --static-libs
+SDLLIBTYPE = --libs
 MSG        = Win32 on MinGW
-EXTRA      = -static
 
 else
 #ifeq "$(OSTYPE)" "darwin"
@@ -52,7 +51,7 @@ CPPFLAGS = -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -Wno-uninitialized -Wno-
 LDFLAGS =
 
 # Ugh, let's get rid of the ref to -lcurses [DONE]
-LIBS = `sdl2-config $(SDLLIBTYPE)` -lstdc++ -lz -lm $(GLLIB) $(EXTRA)
+LIBS = `sdl2-config $(SDLLIBTYPE)` -lstdc++ -lz -lm $(GLLIB)
 
 INCS = -I. -Isrc
 
index 4a472c9d476a4ce8b213c50a2ff683597d7f930c..6dfb03f72270113d17a3c526f2e56eb667255f6b 100644 (file)
--- a/src/gui.h
+++ b/src/gui.h
@@ -8,7 +8,7 @@
 #define __GUI_H__
 
 #include <stdint.h>
-#include <SDL.h>
+#include <SDL2/SDL.h>
 
 // Message macros
 
index 01e166083db25d7c930534ff9c4a06ae62a7eaef..bc1e2ec53763e03899e7a92d3697b5a18aab10de 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef __SCREEN_H__
 #define __SCREEN_H__
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 #include <stdint.h>
 
 void BlitChar(uint8_t *, uint8_t *);
index 27d7a3903b04246fee8c97e76b465f8071a4d040..f2af13a3a07ba5bca5a2a5749847493a67a626cb 100644 (file)
@@ -12,7 +12,7 @@
 //
 
 #include "sound.h"
-#include <SDL.h>
+#include <SDL2/SDL.h>
 #include "psg.h"
 #include "resource.h"
 #include "ym2151.h"
index 9a06f3f60183ee9dd6024d7072a2bc36065f93dd..2914a96c5ae80eab26a7347e3e388609e6aa77ca 100644 (file)
@@ -17,7 +17,7 @@
 
 #define THUNDER_VERSION                "1.2.1"
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 #include <string>
 #include <stdio.h>
 #include <stdlib.h>
index 8d1847ec29a52227c5e7ee0fa579e81984e03943..acacc76945cb4946bdad148a6b012c29bb6efc0d 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef __VIDEO_H__
 #define __VIDEO_H__
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 #include <stdint.h>                                                    // For uint32_t
 
 #define VIRTUAL_SCREEN_WIDTH   288