update version

This commit is contained in:
Night Kaly 2024-02-11 01:07:02 +00:00
parent 44a74c50f2
commit 47f6b96722
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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++) {