Renamed project to Xtimer and added install and uninstall routines to Makefile.
This commit is contained in:
parent
6772b7b3f4
commit
b6528efc13
3 changed files with 9 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
xtimer
|
||||
Xtimer
|
||||
|
|
|
|||
10
Makefile
10
Makefile
|
|
@ -1,6 +1,12 @@
|
|||
all:
|
||||
$(CC) -Wall -o xtimer xtimer.c -lX11 -lXi
|
||||
$(CC) -Wall -oXtimer Xtimer.c -lX11 -lXi
|
||||
|
||||
clean:
|
||||
rm -f xtimer
|
||||
rm -f Xtimer
|
||||
|
||||
install:
|
||||
install -g 0 -o 0 -m 0655 ./Xtimer /usr/bin/
|
||||
|
||||
uninstall:
|
||||
rm -rf /usr/bin/Xtimer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue