summaryrefslogtreecommitdiffstats
path: root/whichasm-0.01/Makefile
blob: 11855de50b3958ea64a671e18720a0954bab9d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Simple initial makefile
#
CC=gcc
CFLAGS=-O2

DESTDIR ?=
PREFIX  ?= /usr/local

all: whichasm

OBJS = classifier_arm.o \
       classifier_ppc.o \
       classifier_s390x.o \
       classifier_x86.o

whichasm: $(OBJS)

install: whichasm
	install -m 755 whichasm $(DESTDIR)/$(PREFIX)/bin

clean:
	-rm -f *.o whichasm