# the compiler: gcc for C program CC = gcc # the build target executable: TARGET = xsmartshell all: $(TARGET) $(TARGET): smartshell.c stringarray.c $(CC) -o $(TARGET) smartshell.c stringarray.c clean: rm *~ $(TARGET)