summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-01 23:42:14 +1200
committerDavid Phillips <david@sighup.nz>2018-08-01 23:42:18 +1200
commit5bc170c54464a786136c1d7c0aefe732cd79dd14 (patch)
treee36c6466c890267a62189a18327c9294e8470592
parentd4a083dec30a5ed2732a13d75140a8e51a21598b (diff)
downloadhence-5bc170c54464a786136c1d7c0aefe732cd79dd14.tar.xz
Rename simulator
This project has had a name for a while now
-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