diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-04 20:06:42 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-10-04 20:06:42 -0500 |
| commit | 45e1db6afbb0c63b1cd5d17e0996d7929803f37b (patch) | |
| tree | 57aad492414d013e4d2b5b6eb81bc563244df02f /go/Makefile | |
| parent | 1ac751b20c8c6efe924737b0f88b9de6805bd5b4 (diff) | |
| download | mal-45e1db6afbb0c63b1cd5d17e0996d7929803f37b.tar.gz mal-45e1db6afbb0c63b1cd5d17e0996d7929803f37b.zip | |
go: reading of atoms and lists.
Diffstat (limited to 'go/Makefile')
| -rw-r--r-- | go/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/go/Makefile b/go/Makefile index 85719bf..076a7aa 100644 --- a/go/Makefile +++ b/go/Makefile @@ -1,13 +1,14 @@ +export GOPATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) + ##################### -SOURCES_BASE = -SOURCES_LISP = step0_repl.go +SOURCES_BASE = src/types/types.go src/reader/reader.go +SOURCES_LISP = src/step1_read_print/step1_read_print.go SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) - ##################### -SRCS = step0_repl.go +SRCS = step0_repl.go step1_read_print.go BINS = $(SRCS:%.go=%) ##################### @@ -17,8 +18,8 @@ all: $(BINS) mal mal: $(word $(words $(BINS)),$(BINS)) cp $< $@ -$(BINS): %: %.go - go build -o $@ $+ +$(BINS): $(SOURCES_BASE) $(SOURCES_LISP) + go build $@ clean: rm -f $(BINS) mal |
