projects
/
ccp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use 64 bit file offsets.
[ccp.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ed17d66
..
447da7b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,6
+2,8
@@
PREFIX=$(HOME)
BINDIR=$(PREFIX)/bin
+FLAGS=-D_FILE_OFFSET_BITS=64
+
all: ccp cmv
cmv: ccp
@@
-11,7
+13,7
@@
ccp: ccp.o
gcc -o $@ $^
ccp.o: ccp.c
- gcc -Wall -c -o $@ $^
+ gcc -Wall
$(FLAGS)
-c -o $@ $^
install: all
cp ccp "$(BINDIR)/ccp"