From b3d7d6b45b860b2a5ac055b62dd309106d4d67f2 Mon Sep 17 00:00:00 2001 From: bjoernf Date: Fri, 25 Aug 2023 10:44:15 +0200 Subject: [PATCH] added Makefile inside src dir --- src/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/Makefile 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