diff options
author | Ache <ache@ache.one> | 2016-05-08 18:18:42 +0200 |
---|---|---|
committer | Ache <ache@ache.one> | 2016-05-08 18:18:42 +0200 |
commit | 8201dc3e0e43d10c5ebca771cdaee270bb7e145c (patch) | |
tree | 9323d7532a9d8b73a75ba3785302affd62827489 /makefile |
Init commit
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..d177b65 --- /dev/null +++ b/makefile @@ -0,0 +1,24 @@ +all: todo + +todo: todo.o + g++ todo.o -o todo + +todo.o: todo.cpp + g++ -std=c++11 -c todo.cpp -o todo.o + +.PHONY: clean mrproper + +clean: + rm *.o + +mrproper: clean + rm todo + +/usr/bin/todo: todo + cp ./todo /usr/bin/ + +install: /usr/bin/todo + +uninstall: /usr/bin/todo + rm /usr/bin/todo + |