pkgsrc/games/fruit/patches/patch-aa

42 lines
730 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $
--- src/Makefile.orig 2005-06-17 09:41:34.000000000 +0200
+++ src/Makefile 2006-08-28 12:49:40.000000000 +0200
@@ -11,7 +11,7 @@ OBJS = attack.o board.o book.o eval.o fe
# rules
-all: $(EXE) .depend
+all: $(EXE)
clean:
$(RM) *.o .depend gmon.out
@@ -19,8 +19,7 @@ clean:
# general
CXX = g++
-CXXFLAGS = -pipe
-LDFLAGS = -lm
+LDFLAGS += -lm
# C++
@@ -32,17 +31,7 @@ CXXFLAGS += -O3 -fstrict-aliasing
CXXFLAGS += -fomit-frame-pointer
# CXXFLAGS += -march=athlon-xp # SELECT ME
-# strip
-
-LDFLAGS += -s
-
# dependencies
$(EXE): $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $(OBJS)
-
-.depend:
- $(CXX) -MM $(OBJS:.o=.cpp) > $@
-
-include .depend
-