aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/makefile')
-rw-r--r--examples/makefile9
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