summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2011-11-06 00:00:31 +0100
committerTimo Weingärtner <timo@tiwe.de>2011-11-06 00:00:31 +0100
commit148e9eab1109789916a7b55ece957156a57ee4cf (patch)
tree8d93776269c965e1097e9b9c60ab02a59eee1aac /Makefile
downloadhadori-0.1.tar.gz
initial commit0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..736befb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+LDFLAGS+=-lz -lboost_program_options
+CXXFLAGS?=-O2 -Wall
+CXXFLAGS+=-std=c++0x
+CPPFLAGS+=-D_FILE_OFFSET_BITS=64
+
+all: hadori
+
+hadori.1: hadori
+ help2man -n $< -o $@ -N --no-discard-stderr --version-string 0.1 ./$<
+
+hadori: hadori.o
+hadori.o: hadori.C inode.h
+
+clean:
+ rm -f hadori hadori.o