File: make-release

package info (click to toggle)
blobwars 2.00-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 77,988 kB
  • sloc: cpp: 19,023; makefile: 130; ansic: 87
file content (20 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 DATA = data gfx sound music
 
 VERSION = 2.00
-RELEASE ?= 0
+RELEASE ?= 1
 USEPAK ?= 0
 
 PREFIX ?= /usr
@@ -21,7 +21,7 @@
 CXXFLAGS += `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
 CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall
 CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT)
-CXXFLAGS += $(CFLAGS) -Werror
+CXXFLAGS += $(CFLAGS) -O2 -g
 LIBS = `pkg-config --libs sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -lz
 PAKLIBS = -lz