Skip to content

Commit

Permalink
major refractor separating certgraph into smaller packages and fixed …
Browse files Browse the repository at this point in the history
…the google CT driver
  • Loading branch information
lanrat committed Nov 27, 2017
1 parent c04e1ea commit c62ef5e
Show file tree
Hide file tree
Showing 12 changed files with 665 additions and 575 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ GIT_HASH := $(shell git rev-parse HEAD)
BUILD_FLAGS := -ldflags "-X main.git_date=$(GIT_DATE) -X main.git_hash=$(GIT_HASH)"

PLATFORMS := linux/amd64 linux/386 linux/arm darwin/amd64 windows/amd64 windows/386 openbsd/amd64
SOURCES := certgraph.go google_ct.go
SOURCES := $(shell find . -maxdepth 1 -type f -name "*.go")
ALL_SOURCES = $(shell find . -type f -name '*.go' -not -path "./vendor/*")

temp = $(subst /, ,$@)
os = $(word 1, $(temp))
Expand All @@ -15,7 +16,7 @@ all: certgraph

release: $(PLATFORMS)

certgraph: $(SOURCES)
certgraph: $(SOURCES) $(ALL_SOURCES)
go build $(BUILD_FLAGS) -o $@ $(SOURCES)

$(PLATFORMS): $(SOURCES)
Expand Down
Loading

0 comments on commit c62ef5e

Please sign in to comment.