diff --git a/README.md b/README.md index 044cd48..4ff54d4 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ const char ICS_PATH[] = "tests/calendar.ics"; make run ``` +#### installation +``` +make +``` + +``` +sudo make install +``` #### TODO: improve Makefile diff --git a/makefile b/makefile index b1df881..69cc659 100644 --- a/makefile +++ b/makefile @@ -1,3 +1,6 @@ +a.out: + gcc -Wall ./src/*.c + .PHONY: debug debug: gcc -Wall -g ./src/*.c @@ -7,3 +10,7 @@ debug: run: gcc -Wall ./src/*.c ./a.out + +.PHONY: install +install: a.out + cp a.out /usr/local/bin/ics_analyzer