diff --git a/.gitignore b/.gitignore index 0205b1c..2cc53c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ # Ignore the build and lib dirs build/* +testing/*.lp #lib/* # Ignore any executables bin/* + +# Ignore temp editor files +*.swp diff --git a/Makefile b/Makefile index 72868fe..d8dbeb7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CC := gcc SRCDIR := src BUILDDIR := build +TESTDIR := testing TARGET := bin/cterm SRCEXT := c SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT)) @@ -23,6 +24,9 @@ clean: @echo " $(RM) -r $(BUILDDIR) $(TARGET)"; $(RM) -r $(BUILDDIR) $(TARGET) test: - $(TARGET) /bin/shxi + $(TARGET) /bin/sh + +trace: + strace -o $(TESTDIR)/trace.lp $(TARGET) /bin/sh .PHONY: clean diff --git a/src/main b/src/main deleted file mode 100755 index bd3e472..0000000 Binary files a/src/main and /dev/null differ