repo cleanup
This commit is contained in:
parent
d0a049d994
commit
32e65cbf05
|
|
@ -1,6 +1,10 @@
|
|||
# Ignore the build and lib dirs
|
||||
build/*
|
||||
testing/*.lp
|
||||
#lib/*
|
||||
|
||||
# Ignore any executables
|
||||
bin/*
|
||||
|
||||
# Ignore temp editor files
|
||||
*.swp
|
||||
|
|
|
|||
6
Makefile
6
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue