annotate arm7dis/Makefile @ 96:dd6c92a1aa34

arm7dis/Makefile: install added
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 07:22:33 +0000
parents f7fba8518fa2
children fb5ea2758482
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 PROGS= armdis
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 ARMDIS_OBJS= armdis.o atcommon.o common.o
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 INSTDIR=/usr/local/bin
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 all: ${PROGS}
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 armdis: ${ARMDIS_OBJS}
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ${CC} -o $@ ${ARMDIS_OBJS}
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
96
dd6c92a1aa34 arm7dis/Makefile: install added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 87
diff changeset
12 install:
dd6c92a1aa34 arm7dis/Makefile: install added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 87
diff changeset
13 install -c -o bin -g bin -m 755 ${PROGS} ${INSTDIR}
dd6c92a1aa34 arm7dis/Makefile: install added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 87
diff changeset
14
87
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 clean:
f7fba8518fa2 armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 rm -f *.o ${PROGS} *errs