]> git.pld-linux.org Git - packages/airstrike.git/blame - airstrike-opt.patch
- longer pl description
[packages/airstrike.git] / airstrike-opt.patch
CommitLineData
933725a3
JB
1--- airstrike-pre6a-src/src/Makefile.orig 2003-01-18 21:02:32.000000000 +0100
2+++ airstrike-pre6a-src/src/Makefile 2004-02-08 01:41:45.734701840 +0100
3@@ -1,4 +1,5 @@
4-CFLAGS:= -g -O2 -Wall -Wno-unused $(OPTIONS)
5+OPT = -O2
6+CFLAGS:= $(OPT) -Wall -Wno-unused $(OPTIONS)
7 #
8 CFLAGS += $(shell sdl-config --cflags) -Isprite -I. -Isupport -DINLINE=inline
9 CFILES:= $(shell find . -name '*.c')
10--- airstrike-pre6a-src/utils/Makefile.orig 2003-01-18 20:48:05.000000000 +0100
11+++ airstrike-pre6a-src/utils/Makefile 2004-02-08 01:42:08.628221496 +0100
12@@ -2,13 +2,13 @@
13 all: showanim hfinter heightfield
14
15 showanim: showanim.c
16- $(CC) -Wall -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
17+ $(CC) $(OPT) -Wall -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
18
19 hfinter: hfinter.c
20- $(CC) -Wall -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
21+ $(CC) $(OPT) -Wall -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
22
23 heightfield: heightfield.c
24- $(CC) -Wall -g -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
25+ $(CC) $(OPT) -Wall -o $@ $^ `sdl-config --cflags --libs` -lSDL_image
26
27 clean:
28- rm -f showanim *~ \#*
29