File open-supaplex-data-folder.patch of Package open-supaplex

Index: open-supaplex-7.2.1/linux/Makefile
===================================================================
--- Makefile (revision 0)
+++ Makefile (revision 0)
@@ -0,0 +1,12 @@
+src = $(wildcard ../src/*.c) $(wildcard ../src/sdl2/*.c) $(wildcard ../src/sdl_common/*.c) ../src/lib/ini/ini.c ../src/null/virtualKeyboard.c
+obj = $(src:.c=.o)
+
+LDFLAGS += -lSDL2_mixer -lvorbis -logg `sdl2-config --libs` -lm
+
+CFLAGS += `sdl2-config --cflags` -DHAVE_SDL2 -DFILE_FHS_XDG_DIRS -DFILE_DATA_PATH=/usr/share/OpenSupaplex/
+
+opensupaplex: $(obj)
+  $(CC) -o $@ $^ $(LDFLAGS)
+
+clean:
+  rm $(obj)
openSUSE Build Service is sponsored by