diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..5df0b27 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,33 @@ +.PHONY:all +all: + gcc -Wall *.c + +.PHONY:debug +debug: + gcc -Wall -g *.c + gdb a.out + +.PHONY:run +run: + gcc -Wall *.c + ./a.out + +.PHONY:install +install: a.out + cp a.out /usr/local/bin/ics_analyzer + +.PHONY:clean +clean: + -rm a.out + +.PHONY:uninstall +uninstall: + -rm /usr/local/bin/ics_analyzer + +.PHONY:test +test: + ./a.out + @echo + ./a.out -h + @echo + ./a.out -f ../tests/calendar.ics