to compile call

gcc smallsh.c -o smallsh -g -Wall -std=c99

or use the makefile