Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > c5d5a019b0b7c72815c141a000c136a1 > files > 1

cube-escape-0.9-4.mga7.src.rpm

Index: cube-escape-0.9/Makefile
===================================================================
--- cube-escape-0.9/Makefile
+++ cube-escape-0.9/Makefile	2014-12-10 19:05:20.968578805 +0100
@@ -1,7 +1,7 @@
 # Makefile for Cube Escape
 
 CC     = gcc
-CFLAGS = $(shell sdl-config --cflags)
+CFLAGS += $(shell sdl-config --cflags)
 LIBS   = $(shell sdl-config --libs) -lm -lSDL_ttf -lSDL_image
 
 TARGET  = cube-escape
@@ -18,7 +18,7 @@
           src/maze.o \
 
 $(TARGET):  $(OBJS)
-	$(CC) -s -o $(TARGET) $(OBJS) $(LIBS)
+	$(CC) -s -o $(TARGET) $(OBJS) $(LIBS) $(CFLAGS) $(LDFLAGS)
 
 src/main.o:  src/main.c $(HEADERS)