summaryrefslogtreecommitdiff
path: root/source/a/unarj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/unarj/Makefile')
-rw-r--r--source/a/unarj/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/a/unarj/Makefile b/source/a/unarj/Makefile
new file mode 100644
index 00000000..95483e75
--- /dev/null
+++ b/source/a/unarj/Makefile
@@ -0,0 +1,21 @@
+#
+# Makefile for unarj under Linux
+# by Arrigo Triulzi ({a.triulzi,agbt}@{imperial,ic}.ac.uk)
+#
+
+CC = gcc
+CFLAGS = -O2 -DUNIX
+INSTALLDIR=/usr/bin
+
+unarj: unarj.o decode.o environ.o
+ gcc $(CFLAGS) -o unarj unarj.o decode.o environ.o
+
+clean:
+ rm -f core unarj *.o *.out
+
+install:
+ cp unarj $(INSTALLDIR)
+
+unarj.o: unarj.c unarj.h Makefile
+environ.o: environ.c unarj.h Makefile
+decode.o: decode.c unarj.h Makefile