diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-25 23:47:43 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-25 23:47:43 +0800 |
commit | c2b99f6321965b2c5b30a1b72b29119281c2d7e1 (patch) | |
tree | 949b2a1ad1d522df5e02dea75f174bc546d869f2 /smelt/sdl | |
parent | 261bfb611a92c5dec13f65fb225a127a66a1b43b (diff) | |
download | SMELT-c2b99f6321965b2c5b30a1b72b29119281c2d7e1.tar.xz |
Compile with -fPIC to allow linkage to libraries.
Make several math functions static.
Elimate several warnings from the compiler.
Diffstat (limited to 'smelt/sdl')
-rw-r--r-- | smelt/sdl/.directory | 2 | ||||
-rw-r--r-- | smelt/sdl/CxImage/makefile | 2 | ||||
-rw-r--r-- | smelt/sdl/CxImage/ximadef.h | 1 | ||||
-rw-r--r-- | smelt/sdl/makefile | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/smelt/sdl/.directory b/smelt/sdl/.directory index 395d8d9..f403253 100644 --- a/smelt/sdl/.directory +++ b/smelt/sdl/.directory @@ -2,5 +2,5 @@ GroupedSorting=true PreviewsShown=true SortRole=type -Timestamp=2015,7,23,0,2,36 +Timestamp=2016,1,25,22,42,36 Version=3 diff --git a/smelt/sdl/CxImage/makefile b/smelt/sdl/CxImage/makefile index 6dcb28b..725a62a 100644 --- a/smelt/sdl/CxImage/makefile +++ b/smelt/sdl/CxImage/makefile @@ -1,5 +1,5 @@ CC= g++ -CXXFLAGS= -c -Os -D_LINUX +CXXFLAGS= -c -Os -D_LINUX -Wall -fPIC AR= ar all: objects archive clean diff --git a/smelt/sdl/CxImage/ximadef.h b/smelt/sdl/CxImage/ximadef.h index 11af155..372ec13 100644 --- a/smelt/sdl/CxImage/ximadef.h +++ b/smelt/sdl/CxImage/ximadef.h @@ -1,4 +1,3 @@ -// -*- C++ -*-
#if !defined(__ximadefs_h)
#define __ximadefs_h
diff --git a/smelt/sdl/makefile b/smelt/sdl/makefile index 09d9237..28a3629 100644 --- a/smelt/sdl/makefile +++ b/smelt/sdl/makefile @@ -1,5 +1,5 @@ CC= g++ -CXXFLAGS= -c -g -std=c++11 -Wall -I/usr/include/SDL/ -I../include -D_LINUX +CXXFLAGS= -c -g -std=c++11 -Wall -I/usr/include/SDL/ -I../include -D_LINUX -fPIC all: objects-normal archive-normal |