FreeCalypso > hg > tcs211-patches
comparison tool/Makefile @ 0:12e230d431f0
started writing libpatch tool
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 03 Jun 2015 07:40:00 +0000 |
parents | |
children | b9fe017905f8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:12e230d431f0 |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROG= libpatch | |
4 OBJS= globals.o main.o readspec.o | |
5 HDRS= ar.h globals.h patchinfo.h | |
6 | |
7 all: ${PROG} | |
8 | |
9 ${PROG}: ${OBJS} | |
10 ${CC} -o $@ ${OBJS} | |
11 | |
12 ${OBJS}: ${HDRS} | |
13 | |
14 install: | |
15 install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin | |
16 | |
17 clean: | |
18 rm -f *.o ${PROG} *errs |