diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..7be8be0b5008ba16d3d55409a12d090359a26c60
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+
+default: centr
+
+buf.o: buf.c
+	gcc -c buf.c -o buf.o
+
+pages.o: pages.asm
+	gcc -c -x assembler pages.asm -o pages.o
+
+install:
+	install centr /usr/bin/centr
+
+clean:
+	rm *.o
+	rm centr
+
+centr: buf.o pages.o centr.c
+	gcc centr.c buf.o pages.o -o centr
+