diff --git a/Makefile b/Makefile index 36a0ca7..bf84a7c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,14 @@ srcfiles = $(shell find . -iname *.go) +all: loader view-map + loader: $(srcfiles) - go build -o loader ur.gs/chaos-gate/cmd/load + go build -o loader ur.gs/chaos-gate/cmd/loader view-map: $(srcfiles) go build -o view-map ur.gs/chaos-gate/cmd/view-map + +clean: + rm -f loader view-map + +.PHONY: all clean diff --git a/cmd/load/main.go b/cmd/loader/main.go similarity index 100% rename from cmd/load/main.go rename to cmd/loader/main.go