summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rwxr-xr-xlib/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 5503701..9fbb4b3 100755
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -3,9 +3,14 @@
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I../includes
CXX=g++
-TARGET = cdutils.o dteutils.o fileutils.o generic.o lzss.o yazedc.o
+OBJECTS = cdutils.o dteutils.o lzss.o yazedc.o
+TARGET = lib.a
all: ${TARGET}
+lib.a: ${OBJECTS}
+ ar -r lib.a ${OBJECTS}
+ ranlib lib.a
+
clean:
rm -f *.o ${TARGET} compil.c