comparison leo-obj/tool/Makefile @ 130:87b82398a08b

leo-obj project subtree started, tiobjd tool moved into it
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 06 Apr 2014 22:14:39 +0000
parents ticoff/Makefile@2c6b1319383b
children fbdb7686a9e9
comparison
equal deleted inserted replaced
129:597143ba1c37 130:87b82398a08b
1 CC= gcc
2 CFLAGS= -O2
3 PROG= tiobjd
4 OBJS= armdis.o atcommon.o basics.o disasm.o globals.o hints.o lowlevel.o \
5 main.o profile.o reloc.o symtab.o tables.o thumbdis.o
6 HDRS= coffconst.h filestruct.h globals.h intstruct.h
7
8 all: ${PROG}
9
10 ${PROG}: ${OBJS}
11 ${CC} -o $@ ${OBJS}
12
13 ${OBJS}: ${HDRS}
14
15 install:
16 install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin
17
18 clean:
19 rm -f *.o ${PROG} *err