diff --git a/Makefile b/Makefile index 4b488eb..8f7d1ba 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXXFLAGS ?= -O2 -Wall -g -CXXFLAGS += `pkg-config --cflags sdl2 SDL2_image SDL2_mixer` -DLINUX +CXXFLAGS += `pkg-config --cflags sdl2 SDL2_image SDL2_mixer` -DLINUX -lSDL2 LIBS = `pkg-config --libs sdl2 SDL2_image SDL2_mixer` OBJS = ai.o aliens.o audio.o bullets.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o weapons.o diff --git a/src/Starfighter.h b/src/Starfighter.h index 5599180..3a6e074 100644 --- a/src/Starfighter.h +++ b/src/Starfighter.h @@ -26,9 +26,9 @@ along with this program. If not, see . #include #include -#include -#include -#include +#include "SDL.h" +#include "SDL_image.h" +#include "SDL_mixer.h" #include "defs.h" #include "structs.h"