aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/CxImage/makefile
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-25 23:47:43 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-25 23:47:43 +0800
commitc2b99f6321965b2c5b30a1b72b29119281c2d7e1 (patch)
tree949b2a1ad1d522df5e02dea75f174bc546d869f2 /smelt/sdl/CxImage/makefile
parent261bfb611a92c5dec13f65fb225a127a66a1b43b (diff)
downloadSMELT-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/CxImage/makefile')
-rw-r--r--smelt/sdl/CxImage/makefile2
1 files changed, 1 insertions, 1 deletions
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