projects
/
ccp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886c05e
)
Use 64 bit file offsets.
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Thu, 25 Apr 2013 21:42:34 +0000
(23:42 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Thu, 25 Apr 2013 21:42:34 +0000
(23:42 +0200)
Makefile
patch
|
blob
|
history
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"