summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
-rw-r--r--hence.c (renamed from simulator.c)0
-rwxr-xr-xtest/run-lang-tests.sh2
4 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 6551343..224163b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
*.o
-simulator
+hence
parser
*.swp
diff --git a/Makefile b/Makefile
index 3c48b8b..f77bc2b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
CFLAGS += -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -Wall -Wextra
-all: simulator
+all: hence
-simulator: simulator.o common.o gate.o logic.o lex.o parse.o
+hence: hence.o common.o gate.o logic.o lex.o parse.o
.PHONY: test
test: all
$(MAKE) -C test all test
clean:
- rm -f parser simulator
+ rm -f hence
rm -f *.o
full-clean: clean
diff --git a/simulator.c b/hence.c
index b9f69bd..b9f69bd 100644
--- a/simulator.c
+++ b/hence.c
diff --git a/test/run-lang-tests.sh b/test/run-lang-tests.sh
index 5cc68b3..767fde9 100755
--- a/test/run-lang-tests.sh
+++ b/test/run-lang-tests.sh
@@ -1,7 +1,7 @@
#!/bin/bash
cd "$(dirname $0)"
-EXECUTABLE="$PWD/../simulator"
+EXECUTABLE="$PWD/../hence"
echo $PWD