FreeCalypso > hg > freecalypso-sw
comparison ffstools/tiffs-rd/Makefile @ 242:924a80747176
ffstools/tiffs-rd/Makefile: install target added
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 27 Jan 2014 03:05:56 +0000 |
parents | acedd4c88d2e |
children | 10afa4d39a7b |
comparison
equal
deleted
inserted
replaced
241:c95efd27fb2e | 242:924a80747176 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROG= tiffs | 3 PROG= tiffs |
4 OBJS= basics.o cat.o globals.o inode.o ls.o main.o object.o tree.o | 4 OBJS= basics.o cat.o globals.o inode.o ls.o main.o object.o tree.o |
5 HDRS= globals.h pathname.h struct.h types.h | 5 HDRS= globals.h pathname.h struct.h types.h |
6 INSTBIN=/usr/local/bin | |
6 | 7 |
7 all: ${PROG} | 8 all: ${PROG} |
8 | 9 |
9 ${PROG}: ${OBJS} | 10 ${PROG}: ${OBJS} |
10 ${CC} -o $@ ${OBJS} | 11 ${CC} -o $@ ${OBJS} |
11 | 12 |
12 ${OBJS}: ${HDRS} | 13 ${OBJS}: ${HDRS} |
14 | |
15 install: ${PROG} | |
16 mkdir -p ${INSTBIN} | |
17 install -c ${PROG} ${INSTBIN} | |
13 | 18 |
14 clean: | 19 clean: |
15 rm -f ${PROG} *.o *.out *errs | 20 rm -f ${PROG} *.o *.out *errs |