2023-08-15 21:20:50 +02:00
|
|
|
all:
|
2023-08-15 20:20:39 +02:00
|
|
|
gcc -Wall ./src/*.c
|
|
|
|
|
2023-08-15 19:50:10 +02:00
|
|
|
.PHONY: debug
|
2023-08-15 16:31:07 +02:00
|
|
|
debug:
|
2023-08-15 19:50:10 +02:00
|
|
|
gcc -Wall -g ./src/*.c
|
2023-08-15 16:31:07 +02:00
|
|
|
gdb a.out
|
|
|
|
|
2023-08-15 19:50:10 +02:00
|
|
|
.PHONY: run
|
2023-08-15 16:31:07 +02:00
|
|
|
run:
|
|
|
|
gcc -Wall ./src/*.c
|
|
|
|
./a.out
|
2023-08-15 20:20:39 +02:00
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install: a.out
|
|
|
|
cp a.out /usr/local/bin/ics_analyzer
|
2023-08-15 21:17:24 +02:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm a.out
|
|
|
|
|
|
|
|
.PHONY: uninstall
|
|
|
|
uninstall:
|
|
|
|
rm /usr/local/bin/ics_analyzer
|