added Makefile inside src dir
This commit is contained in:
parent
3b348066bd
commit
b3d7d6b45b
33
src/Makefile
Normal file
33
src/Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user