Skip to content
Snippets Groups Projects
Commit be654ae9 authored by Montjoie Henri's avatar Montjoie Henri
Browse files

ajout de la librairie SDL

parent 9f2a3d1c
No related branches found
No related tags found
No related merge requests found
Pipeline #
Showing
with 524 additions and 0 deletions
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
Bugs are now managed in the SDL bug tracker, here:
http://bugzilla.libsdl.org/
You may report bugs there, and search to see if a given issue has already
been reported, discussed, and maybe even fixed.
You may also find help at the SDL mailing list. Subscription information:
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Bug reports are welcome here, but we really appreciate if you use Bugzilla, as
bugs discussed on the mailing list may be forgotten or missed.
This diff is collapsed.
To compile and install SDL:
1. Run './configure; make; make install'
If you are compiling for Windows using gcc, read the FAQ at:
http://www.libsdl.org/faq.php?action=listentries&category=4#42
If you are compiling using Visual C++ on Win32, you should read
the file VisualC.html
2. Look at the example programs in ./test, and check out the HTML
documentation in ./docs to see how to use the SDL library.
3. Join the SDL developer mailing list by sending E-mail to
sdl-request@libsdl.org
and put "subscribe" in the subject of the message.
Or alternatively you can use the web interface:
http://www.libsdl.org/mailing-list.php
That's it!
Sam Lantinga <slouken@libsdl.org>
#
# Makefile for installing the Mingw32 version of the SDL library
CROSS_PATH := /usr/local/cross-tools/i686-w64-mingw32
all:
@echo "Type \"make native\" to install to /usr"
@echo "Type \"make cross\" to install to $(CROSS_PATH)"
native:
make install-sdl prefix=/usr
cross:
make install-sdl prefix=$(CROSS_PATH)
install-sdl:
if test -d $(prefix); then \
cp -rv bin include lib share $(prefix)/; \
sed "s|^prefix=.*|prefix=$(prefix)|" <bin/sdl-config >$(prefix)/bin/sdl-config; \
chmod 755 $(prefix)/bin/sdl-config; \
sed "s|^libdir=.*|libdir=\'$(prefix)/lib\'|" <lib/libSDL.la >$(prefix)/lib/libSDL.la; \
else \
echo "*** ERROR: $(prefix) does not exist!"; \
exit 1; \
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment