Ticket #43951: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by freespace+macforge@…, 10 years ago) |
---|
-
Makefile
old new 4 4 ####################################################################### 5 5 6 6 # Directory where qiv will be installed under. 7 PREFIX = /usr/local7 PREFIX = $(DESTDIR)@PREFIX@ 8 8 9 9 # Font to use for statusbar in fullscreen mode 10 10 STATUSBAR_FONT = "fixed" … … 48 48 CC = gcc 49 49 #CFLAGS = -O -g -Wall 50 50 CFLAGS = -O2 -Wall \ 51 -fcaller-saves -ffast-math -fno-strength-reduce \ 52 -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN 51 -ffast-math -fno-strength-reduce 53 52 #CFLAGS = -O2 -Wall -fomit-frame-pointer -finline-functions \ 54 53 # -fcaller-saves -ffast-math -fno-strength-reduce \ 55 54 # -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN … … 127 126 128 127 install: $(PROGRAM) 129 128 @echo "Installing QIV..." 129 mkdir -p $(PREFIX)/bin 130 130 install -s -m 0755 $(PROGRAM) $(PREFIX)/bin 131 install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1 132 $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1 131 mkdir -p $(PREFIX)/share/man/man1 132 install -m 0644 $(PROGRAM).1 $(PREFIX)/share/man/man1 133 $(COMPRESS_PROG) $(PREFIX)/share/man/man1/$(PROGRAM).1 133 134 @if ./qiv -f ./intro.jpg ; \ 134 135 then echo "-- Test Passed --" ; \ 135 136 else echo "-- Test Failed --" ; \