summaryrefslogtreecommitdiffstats
path: root/source/a/unarj/Makefile
blob: 95483e751126552d95bc72e8ac3bb8eb005d33e2 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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