repo cleanup
This commit is contained in:
parent
d0a049d994
commit
32e65cbf05
|
|
@ -1,6 +1,10 @@
|
||||||
# Ignore the build and lib dirs
|
# Ignore the build and lib dirs
|
||||||
build/*
|
build/*
|
||||||
|
testing/*.lp
|
||||||
#lib/*
|
#lib/*
|
||||||
|
|
||||||
# Ignore any executables
|
# Ignore any executables
|
||||||
bin/*
|
bin/*
|
||||||
|
|
||||||
|
# Ignore temp editor files
|
||||||
|
*.swp
|
||||||
|
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -1,6 +1,7 @@
|
||||||
CC := gcc
|
CC := gcc
|
||||||
SRCDIR := src
|
SRCDIR := src
|
||||||
BUILDDIR := build
|
BUILDDIR := build
|
||||||
|
TESTDIR := testing
|
||||||
TARGET := bin/cterm
|
TARGET := bin/cterm
|
||||||
SRCEXT := c
|
SRCEXT := c
|
||||||
SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
|
SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
|
||||||
|
|
@ -23,6 +24,9 @@ clean:
|
||||||
@echo " $(RM) -r $(BUILDDIR) $(TARGET)"; $(RM) -r $(BUILDDIR) $(TARGET)
|
@echo " $(RM) -r $(BUILDDIR) $(TARGET)"; $(RM) -r $(BUILDDIR) $(TARGET)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(TARGET) /bin/shxi
|
$(TARGET) /bin/sh
|
||||||
|
|
||||||
|
trace:
|
||||||
|
strace -o $(TESTDIR)/trace.lp $(TARGET) /bin/sh
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue