update version
This commit is contained in:
parent
44a74c50f2
commit
47f6b96722
2 changed files with 3 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -1,6 +1,6 @@
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
|
||||||
VERSION = 0.1
|
VERSION = 1.0
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ OBJ = ${SRC:.c=.o}
|
||||||
|
|
||||||
rush: ${OBJ}
|
rush: ${OBJ}
|
||||||
${CC} -o $@ ${OBJ}
|
${CC} -o $@ ${OBJ}
|
||||||
|
strip rush
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf rush
|
rm -rf rush
|
||||||
|
|
|
@ -168,7 +168,7 @@ int cd(char **args) {
|
||||||
|
|
||||||
// show help menu
|
// show help menu
|
||||||
int help(char **args) {
|
int help(char **args) {
|
||||||
printf("rush v0.01-alpha\n");
|
printf("rush %s\n", VERSION);
|
||||||
printf("Built in commands:\n");
|
printf("Built in commands:\n");
|
||||||
|
|
||||||
for (int i = 0; i < num_builtins(); i++) {
|
for (int i = 0; i < num_builtins(); i++) {
|
||||||
|
|
Loading…
Reference in a new issue