aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/CxImage/makefile
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-07 22:50:48 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-07 22:50:48 +0800
commit0b049c3ea601a7ea6dc441db73af7a5bd75c834a (patch)
treedd0a232de133bdd5b93a5e8f9193d76978c1216e /smelt/sdl/CxImage/makefile
parent16b769db4b4312b8d862bfff59e01f1c7aaf55ed (diff)
downloadbullet-lab-remix-0b049c3ea601a7ea6dc441db73af7a5bd75c834a.tar.xz
Make the compiler happy.
Add some makefiles.
Diffstat (limited to 'smelt/sdl/CxImage/makefile')
-rw-r--r--smelt/sdl/CxImage/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/smelt/sdl/CxImage/makefile b/smelt/sdl/CxImage/makefile
new file mode 100644
index 0000000..6dcb28b
--- /dev/null
+++ b/smelt/sdl/CxImage/makefile
@@ -0,0 +1,12 @@
+CC= g++
+CXXFLAGS= -c -Os -D_LINUX
+AR= ar
+
+all: objects archive clean
+
+objects:
+ $(CC) *.cpp $(CXXFLAGS)
+archive:
+ $(AR) rcs libCxImage.a *.o
+clean:
+ rm *.o && mv libCxImage.a ../