Makefile.patch (486B)
1 diff --git i/Makefile w/Makefile 2 index 569a347..a7f4032 100644 3 --- i/Makefile 4 +++ w/Makefile 5 @@ -1,6 +1,6 @@ 6 -SDL_CONFIG=sdl2-config 7 -CXXFLAGS=`$(SDL_CONFIG) --cflags` -g 8 -LIBS=`$(SDL_CONFIG) --libs` -lcurl -lSDL2_image 9 +PKG_CONFIG=pkg-config 10 +CXXFLAGS=`$(PKG_CONFIG) --cflags SDL2` `$(PKG_CONFIG) --cflags SDL2_image` -g 11 +LIBS=`$(PKG_CONFIG) --libs SDL2` `$(PKG_CONFIG) --libs SDL2_image` -lcurl 12 TARGET=sdlmap 13 14 sdlmap: sdlmap.o tile_downloader.o tile_collection.o map_view.o tile.o