OBS User unknown 2008-12-03 10:09:08 +00:00 committed by Git OBS Bridge
parent cb073f8386
commit 7df44f3ca2

29
scummvm-tools-0.11.0.diff Normal file
View File

@ -0,0 +1,29 @@
--- Makefile.orig 2008-01-13 00:10:11.000000000 +0100
+++ Makefile 2008-01-13 06:28:27.000000000 +0100
@@ -5,15 +5,10 @@
CC := gcc
CXX := g++
-CFLAGS += -g -O -Wall -Wuninitialized -Wno-long-long -Wno-multichar -DUNIX
# LDFLAGS +=
# Additional warnings
-CFLAGS+= -Wshadow
-CFLAGS+= -pedantic
-CFLAGS+= -Wpointer-arith -Wcast-qual -Wcast-align
# -Wconversion
-CFLAGS+= -Wshadow -Wimplicit -Wundef -Wwrite-strings
TARGETS := \
compress_agos$(EXEEXT) \
@@ -65,6 +60,10 @@
compress_scumm_bun$(EXEEXT): compress_scumm_bun.o compress.o util.o
$(CXX) $(LDFLAGS) -o $@ $+
+install: all
+ mkdir -p $(DESTDIR)/usr/games
+ install -m 755 $(TARGETS) $(DESTDIR)/usr/games
+
compress_scumm_san$(EXEEXT): compress_scumm_san.o compress.o util.o
$(CXX) $(LDFLAGS) -o $@ $+ -lz