From 0b049c3ea601a7ea6dc441db73af7a5bd75c834a Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 7 Oct 2015 22:50:48 +0800 Subject: Make the compiler happy. Add some makefiles. --- smelt/sdl/CxImage/makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 smelt/sdl/CxImage/makefile (limited to 'smelt/sdl/CxImage') 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 ../ -- cgit v1.2.3