Skip to content

Commit

Permalink
Merge pull request #441 from M4FFS/fix_srcs_windows
Browse files Browse the repository at this point in the history
Modify file sources in Makefile to work with windows
  • Loading branch information
cassierecher authored Jul 30, 2020
2 parents a5d0965 + 90406e0 commit 3c759c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion claat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ RELEASES=$(OUTDIR)/claat-darwin-amd64 \
$(OUTDIR)/claat-windows-amd64.exe \
$(OUTDIR)/claat-windows-386.exe

SRCS = $(shell find . -name '*.go') render/tmpldata.go
ifeq ($(OS), Windows_NT)
SRCS = $(shell dir *.go /b/s)
else
SRCS = $(shell find . -name '*.go')
endif

all: $(OUTDIR)/claat

Expand Down

0 comments on commit 3c759c9

Please sign in to comment.