FreeCalypso > hg > freecalypso-tools
comparison loadtools/Makefile @ 44:b77005f6d315
loadtools: migration to /opt/freecalypso
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 26 Oct 2016 05:55:04 +0000 |
parents | e7502631a0f9 |
children | 54a6864cabf4 |
comparison
equal
deleted
inserted
replaced
43:647a7bdba4be | 44:b77005f6d315 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram | 3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram |
4 INSTBIN=/usr/local/bin | 4 INSTBIN=/opt/freecalypso/bin |
5 INSTCONF=/opt/freecalypso/loadtools | |
6 INSTHELP=/opt/freecalypso/helpfiles | |
5 | 7 |
6 EXTRA_OBJ= compalload.o | 8 EXTRA_OBJ= compalload.o |
7 | 9 |
8 COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o | 10 COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o |
9 | 11 |
35 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} | 37 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} |
36 | 38 |
37 install: | 39 install: |
38 mkdir -p ${INSTBIN} | 40 mkdir -p ${INSTBIN} |
39 install -c ${PROGS} ${INSTBIN} | 41 install -c ${PROGS} ${INSTBIN} |
40 ./install-helpers.sh | 42 mkdir -p ${INSTCONF} |
43 install -c -m 644 scripts/* ${INSTCONF} | |
44 mkdir -p ${INSTHELP} | |
45 install -c -m 644 loadtool.help ${INSTHELP} | |
41 | 46 |
42 clean: | 47 clean: |
43 rm -f *.o *.out *errs ${PROGS} | 48 rm -f *.o *.out *errs ${PROGS} |