diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-06 23:28:21 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-06 23:28:21 +0800 |
commit | c93d16b6eb05984dc2c8ef474fe94d2136f6c0e2 (patch) | |
tree | 8e97181a5d07ffc525014875af12e83f9b16a409 /examples/makefile | |
parent | 038b31f0158a0018dbf2eceb71026cc4e665faa9 (diff) | |
download | SMELT-c93d16b6eb05984dc2c8ef474fe94d2136f6c0e2.tar.xz |
Add makefile and an example app.
Furthermore, make the compiler happier with my stupid code.
Diffstat (limited to 'examples/makefile')
-rw-r--r-- | examples/makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/makefile b/examples/makefile new file mode 100644 index 0000000..b4844d9 --- /dev/null +++ b/examples/makefile @@ -0,0 +1,9 @@ +CC= g++ +CXXFLAGS= -I/usr/include/freetype2 -I../include -D_LINUX +LINK= -lSDL2 -lvorbis -lvorbisfile -lopenal -ljpeg -lpng -lfreetype -lz -lsmeltext -lsmelt -lCxImage +LINK_FOLDER= -L../smelt/sdl -L../extensions + +all: + $(CC) smelt_test.cpp $(CXXFLAGS) $(LINK_FOLDER) $(LINK) -o smelt_test +clean: + rm smelt_test
\ No newline at end of file |