Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37787999
en ru br
ALT Linux repositórios
S:030809-alt1

Group :: Sistema/Bibliotecas
RPM: libSDL-sge

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 001_makefile_fixes.diff
Download


--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 OBJECTS=sge_surface.o sge_primitives.o sge_tt_text.o sge_bm_text.o sge_misc.o sge_textpp.o sge_blib.o sge_rotation.o sge_collision.o sge_shape.o
 
 all:	config $(OBJECTS) 
-	@ar rsc libSGE.a $(OBJECTS)
+	ar rsc libSGE.a $(OBJECTS)
 
 $(OBJECTS):	%.o:%.cpp %.h   #Each object depends on thier .cpp and .h file
 	$(CXX) $(CFLAGS) -c $<
@@ -31,7 +31,7 @@
 	@strip SGE.dll
 
 clean:
-	@rm -f *.o *.so *.a *.dll *.def
+	rm -f *.o *.so *.so.* *.a *.dll *.def
 
 config:
 	@echo "/* SGE Config header (generated automatically) */" >sge_config.h
--- a/Makefile.conf
+++ b/Makefile.conf
@@ -4,7 +4,7 @@
 # (See README for more info)
 C_COMP = y
 #USE_FT = n
-#USE_IMG = n
+USE_IMG = y
 #QUIET = y
 
 
@@ -25,7 +25,7 @@
 PREFIX_H =$(shell sdl-config --prefix)/include/SDL
 
 # Flags passed to the compiler
-CFLAGS =-Wall -O3 -ffast-math
+CFLAGS =-Wall -ffast-math $(CUSTOM_CFLAGS)
 SGE_CFLAGS =$(shell sdl-config --cflags)
 # Uncomment to make some more optimizations
 #CFLAGS =-Wall -O9 -ffast-math -march=i686
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009