Commit 6d3eca0f authored by Alexandru Dura's avatar Alexandru Dura
Browse files

Add a test target

parent 02df7297
...@@ -14,5 +14,8 @@ main: $(OBJS) ...@@ -14,5 +14,8 @@ main: $(OBJS)
clean: clean:
rm -f *.o sh core out rm -f *.o sh core out
test: main shell-test: shell-test.c
python3 $(OUT) $(CC) -D_DEFAULT_SOURCE -Wall $< -o $@
test: main shell-test
./shell-test `pwd`/$(OUT) -n
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment