go_to_the_back/Makefile

23 lines
390 B
Makefile

TARGET = go_to_the_back
# this is the name of a really cute apple process
# idk what it is but it looks normal kinda
ALIAS = secd
strip-$(ALIAS): $(ALIAS)
strip ./build/$(ALIAS)
.PHONY: $(ALIAS)
$(ALIAS): $(TARGET)
cp ./build/$(TARGET) ./build/$(ALIAS)
$(TARGET):
go build -o ./build/$(TARGET) cmd/main.go
.PHONY: pre
pre:
@mkdir -p ./build
.PHONY: clean
clean:
@rm -rf build/**