All pastes #536389 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-04 11:18 UTC
rendered paste body
--- user/games/tint/tint-0.03b/Makefile 2005-07-17 13:30:54.000000000 +0200
+++ user/games/tint/src/Makefile        2007-06-04 13:17:32.000000000 +0200
@@ -29,10 +29,15 @@
 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #CROSS = arm-linux-
+CROSS =
+#CROSS blanked out to prevent this:
+#$(CROSS)$(STRIP) == arm-linux-elf-arm-linux-elf-strip
+#$(CROSS)$(CC) ==  arm-linux-elf-ucfront-gcc arm-linux-elf-gcc
+DESTDIR =
 
 bindir = $(DESTDIR)/usr/games
 mandir = $(DESTDIR)/usr/share/man
-localstatedir = $(DESTDIR)/var/games
+localstatedir = $(DESTDIR)/var/run
 
 ifeq ($(CC),)
 CC = gcc
@@ -44,13 +49,13 @@
 endif
 endif
 
-CFLAGS = -Wall -Os -pipe
-CPPFLAGS = -DSCOREFILE=\"$(localstatedir)/$(PRG).scores\" #-DUSE_RAND
-LDFLAGS = -s
-LDLIBS = -lncurses
+#CFLAGS = -Wall -Os -pipe
+CPPFLAGS += -DSCOREFILE=\"$(localstatedir)/$(PRG).scores\" #-DUSE_RAND
+LDFLAGS += -s
+LDLIBS += -lncurses
 
-STRIP = strip
-STRIPFLAGS = --strip-all --remove-section=.note --remove-section=.comment
+#STRIP = strip
+STRIPFLAGS += --strip-all --remove-section=.note --remove-section=.comment
 
 INSTALL = install
 
@@ -81,7 +86,8 @@
 
 $(PRG): $(OBJ)
        $(CROSS)$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
-       $(CROSS)$(STRIP) $(STRIPFLAGS) $@
+#      $(CROSS)$(STRIP) $(STRIPFLAGS) $@
+#Commented to prevent errors at compile-time
 
 ifneq ($(DESTDIR),)
 install: $(PRG)