From c93d16b6eb05984dc2c8ef474fe94d2136f6c0e2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 6 Oct 2015 23:28:21 +0800 Subject: Add makefile and an example app. Furthermore, make the compiler happier with my stupid code. --- extensions/makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/makefile (limited to 'extensions/makefile') diff --git a/extensions/makefile b/extensions/makefile new file mode 100644 index 0000000..4c6b3fe --- /dev/null +++ b/extensions/makefile @@ -0,0 +1,13 @@ +CC= g++ +CXXFLAGS= -c -std=c++11 -Wall -I../include -I/usr/include/freetype2 + +all: objects archive clean + +objects: + $(CC) *.cpp $(CXXFLAGS) +archive: + $(AR) rcs libsmeltext.a *.o +clean: + if ( test smanim.o ); then rm *.o; fi +clean-all: clean + rm *.a \ No newline at end of file -- cgit v1.2.3