diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-07 22:50:48 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-07 22:50:48 +0800 |
commit | 0b049c3ea601a7ea6dc441db73af7a5bd75c834a (patch) | |
tree | dd0a232de133bdd5b93a5e8f9193d76978c1216e /smelt/sdl/makefile | |
parent | 16b769db4b4312b8d862bfff59e01f1c7aaf55ed (diff) | |
download | bullet-lab-remix-0b049c3ea601a7ea6dc441db73af7a5bd75c834a.tar.xz |
Make the compiler happy.
Add some makefiles.
Diffstat (limited to 'smelt/sdl/makefile')
-rw-r--r-- | smelt/sdl/makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/smelt/sdl/makefile b/smelt/sdl/makefile new file mode 100644 index 0000000..aa9acb8 --- /dev/null +++ b/smelt/sdl/makefile @@ -0,0 +1,13 @@ +CC= g++ +CXXFLAGS= -c -std=c++11 -Wall -I/usr/include/SDL/ -I../include -D_LINUX + +all: objects archive clean + +objects: + $(CC) *.cpp $(CXXFLAGS) +archive: + $(AR) rcs libsmelt.a *.o +clean: + if ( test gfx_sdl.o ); then rm *.o; fi +clean-all: clean + rm *.a
\ No newline at end of file |