Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > db03c4c1f7381b99e0aaa19fd1fc72a0 > files > 1

cube-escape-0.9-3.mga6.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)