/[projet1]/public/pc/emulators/caloric/libs_windows/SDL/Makefile
Defence Force logotype

Contents of /public/pc/emulators/caloric/libs_windows/SDL/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations)
Wed May 27 20:33:03 2009 UTC (10 years, 3 months ago) by Jede
File size: 710 byte(s)
Ajouts des libs windows
1 #
2 # Makefile for installing the Mingw32 version of the SDL library
3
4 CROSS_PATH := /usr/local/cross-tools/i386-mingw32
5
6 all:
7 @echo "Type \"make native\" to install to /usr"
8 @echo "Type \"make cross\" to install to $(CROSS_PATH)"
9
10 native:
11 make install-sdl prefix=/usr
12
13 cross:
14 make install-sdl prefix=$(CROSS_PATH)
15
16 install-sdl:
17 if test -d $(prefix); then \
18 cp -rv bin include lib share $(prefix)/; \
19 sed "s|^prefix=.*|prefix=$(prefix)|" <bin/sdl-config >$(prefix)/bin/sdl-config; \
20 chmod 755 $(prefix)/bin/sdl-config; \
21 sed "s|^libdir=.*|libdir=\'$(prefix)/lib\'|" <lib/libSDL.la >$(prefix)/lib/libSDL.la; \
22 else \
23 echo "*** ERROR: $(prefix) does not exist!"; \
24 exit 1; \
25 fi

  ViewVC Help
Powered by ViewVC 1.1.26