Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 3c759c9

Browse files
authored
Merge pull request #441 from M4FFS/fix_srcs_windows
Modify file sources in Makefile to work with windows
2 parents a5d0965 + 90406e0 commit 3c759c9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

claat/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ RELEASES=$(OUTDIR)/claat-darwin-amd64 \
2525
$(OUTDIR)/claat-windows-amd64.exe \
2626
$(OUTDIR)/claat-windows-386.exe
2727

28-
SRCS = $(shell find . -name '*.go') render/tmpldata.go
28+
ifeq ($(OS), Windows_NT)
29+
SRCS = $(shell dir *.go /b/s)
30+
else
31+
SRCS = $(shell find . -name '*.go')
32+
endif
2933

3034
all: $(OUTDIR)/claat
3135

0 commit comments

Comments
 (0)