/[packages]/cauldron/harris/pristine/SOURCES/harris-0.2.2-mga-customisable-paths-and-optflags.patch
ViewVC logotype

Contents of /cauldron/harris/pristine/SOURCES/harris-0.2.2-mga-customisable-paths-and-optflags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 794590 - (show annotations) (download)
Wed Oct 29 21:31:09 2014 UTC (9 years, 3 months ago) by schedbot
File size: 896 byte(s)
Copying release 0.2.4-1.mga5 to pristine/ directory.
1 Index: harris-0.2.2/Makefile
2 ===================================================================
3 --- harris-0.2.2/Makefile
4 +++ harris-0.2.2/Makefile 2014-07-20 21:42:34.145361089 +0200
5 @@ -3,13 +3,16 @@
6 # Installation directories
7 DESTDIR ?=
8 PREFIX ?= /usr/local
9 -BINIDIR := $(DESTDIR)$(PREFIX)/games
10 -DATIDIR := $(DESTDIR)$(PREFIX)/share/games/harris
11 +BINDIR ?= $(PREFIX)/games
12 +DATDIR ?= $(PREFIX)/share/games/harris
13 +BINIDIR := $(DESTDIR)$(BINDIR)
14 +DATIDIR := $(DESTDIR)$(DATDIR)
15 # User directories (relative to $HOME)
16 USAVDIR := .local/share/harris
17
18 CC := gcc
19 -CFLAGS := -Wall -Wextra -Werror -pedantic --std=gnu99 -g -DDATIDIR=\"$(DATIDIR)\" -DUSAVDIR=\"$(USAVDIR)\"
20 +OPTFLAGS ?= -Wall -Wextra -Werror -pedantic -g
21 +CFLAGS := $(OPTFLAGS) --std=gnu99 -DDATIDIR=\"$(DATIDIR)\" -DUSAVDIR=\"$(USAVDIR)\"
22
23 LIBS := -latg -lm
24 INTEL_OBJS := intel_bombers.o intel_fighters.o intel_targets.o

  ViewVC Help
Powered by ViewVC 1.1.30