aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/CxImage/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'smelt/sdl/CxImage/makefile')
-rw-r--r--smelt/sdl/CxImage/makefile12
1 files changed, 12 insertions, 0 deletions
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 ../