comparison arm7dis/Makefile @ 97:fb5ea2758482

thumbdis written, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 23:32:26 +0000
parents dd6c92a1aa34
children
comparison
equal deleted inserted replaced
96:dd6c92a1aa34 97:fb5ea2758482
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= armdis 3 PROGS= armdis thumbdis
4 ARMDIS_OBJS= armdis.o atcommon.o common.o 4 ARMDIS_OBJS= armdis.o atcommon.o common.o
5 THUMBDIS_OBJS= atcommon.o common.o thumbdis.o
5 INSTDIR=/usr/local/bin 6 INSTDIR=/usr/local/bin
6 7
7 all: ${PROGS} 8 all: ${PROGS}
8 9
9 armdis: ${ARMDIS_OBJS} 10 armdis: ${ARMDIS_OBJS}
10 ${CC} -o $@ ${ARMDIS_OBJS} 11 ${CC} -o $@ ${ARMDIS_OBJS}
11 12
13 thumbdis: ${THUMBDIS_OBJS}
14 ${CC} -o $@ ${THUMBDIS_OBJS}
15
12 install: 16 install:
13 install -c -o bin -g bin -m 755 ${PROGS} ${INSTDIR} 17 install -c -o bin -g bin -m 755 ${PROGS} ${INSTDIR}
14 18
15 clean: 19 clean:
16 rm -f *.o ${PROGS} *errs 20 rm -f *.o ${PROGS} *errs