summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgeneric/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/generic/Makefile b/generic/Makefile
new file mode 100755
index 0000000..dc47586
--- /dev/null
+++ b/generic/Makefile
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -I../includes
+CXX=g++
+
+OBJECTS = Buffer.o Exceptions.o Handle.o Image.o Input.o Output.o String.o generic.o fileutils.o
+TARGET = generic.a
+
+all: ${TARGET}
+
+generic.a: ${OBJECTS}
+ ar -r generic.a ${OBJECTS}
+ ranlib generic.a
+
+clean:
+ rm -f *.o *.a ${TARGET} compil.c