patch-Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2009/04/03 17:56:41 landry Exp $
  2. --- Makefile.orig Sun Sep 25 23:20:30 2005
  3. +++ Makefile Fri Apr 3 19:41:41 2009
  4. @@ -5,7 +5,6 @@
  5. ########################################
  6. # installation prefix
  7. -PREFIX=/usr/local
  8. ########################################
  9. #
  10. @@ -16,7 +15,7 @@ PREFIX=/usr/local
  11. OPTIMIZE=#-O6 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -funroll-loops
  12. PROFILER=#-pg
  13. DEBUG=#-ggdb
  14. -CXXFLAGS=-pipe -Wall $(OPTIMIZE) $(DEBUG) `sdl-config --cflags` -DPREFIX=L\"$(PREFIX)\" $(PROFILER)
  15. +CXXFLAGS= $(CFLAGS) $(OPTIMIZE) $(DEBUG) `sdl-config --cflags` -DPREFIX=L\"$(PREFIX)\" $(PROFILER)
  16. LNFLAGS=-pipe -lSDL_ttf -lfreetype `sdl-config --libs` -lz -lSDL_mixer $(PROFILER)
  17. INSTALL=install
  18. @@ -61,8 +60,9 @@ run: $(TARGET)
  19. ./$(TARGET)
  20. install: $(TARGET)
  21. - $(INSTALL) -s -D $(TARGET) $(PREFIX)/bin/$(TARGET)
  22. - $(INSTALL) -D einstein.res $(PREFIX)/share/einstein/res/einstein.res
  23. + $(INSTALL) -s $(TARGET) $(PREFIX)/bin/$(TARGET)
  24. + $(INSTALL) -d $(PREFIX)/share/einstein/res
  25. + $(INSTALL) einstein.res $(PREFIX)/share/einstein/res/einstein.res
  26. # DO NOT DELETE THIS LINE -- make depend depends on it.