25 lines
297 B
Makefile
25 lines
297 B
Makefile
a.out:
|
|
gcc -Wall ./src/*.c
|
|
|
|
.PHONY: debug
|
|
debug:
|
|
gcc -Wall -g ./src/*.c
|
|
gdb a.out
|
|
|
|
.PHONY: run
|
|
run:
|
|
gcc -Wall ./src/*.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
|