mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs. WWW: http://www.sfml-dev.org/index.php
21 lines
1 KiB
Text
21 lines
1 KiB
Text
--- src/SFML/Graphics/Makefile.orig 2009-05-28 19:57:02.000000000 +0400
|
|
+++ src/SFML/Graphics/Makefile 2009-07-07 19:59:29.000000000 +0400
|
|
@@ -26,14 +26,14 @@
|
|
libsfml-graphics-s.a: $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
|
|
$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
|
|
|
|
-libsfml-graphics.so: $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
|
|
- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB) -lfreetype
|
|
+libsfml-graphics.so: $(OBJ) $(OBJGLEW) $(OBJSOIL)
|
|
+ $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) $(OBJSOIL) -lfreetype -lpng -ljpeg -lz
|
|
|
|
$(OBJ): %.o: %.cpp
|
|
- $(CPP) -o $@ -c $< $(CFLAGS) -I/usr/include/freetype2
|
|
+ $(CXX) -o $@ -c $< $(CXXFLAGS)
|
|
|
|
$(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB): %.o: %.c
|
|
- $(CC) -o $@ -c $< $(CFLAGSEXT) -DSTBI_FAILURE_USERMSG
|
|
+ $(CC) -o $@ -c $< $(CFLAGS) -DSTBI_FAILURE_USERMSG
|
|
|
|
.PHONY: clean mrproper
|
|
|