Skip to content

Commit

Permalink
fix GOPATH variable in make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenMulkers authored and godsic committed Jun 18, 2020
1 parent 83b34cc commit 14563b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GO_BUILDFLAGS=-compiler gc
# Or uncomment the line below to use the gccgo compiler, which may
# or may not be faster than gc and which may or may not compile...
#export GO_BUILDFLAGS=-compiler gccgo -gccgoflags '-static-libgcc -O4 -Ofast -march=native'
# GO_BUILDFLAGS=-compiler gccgo -gccgoflags '-static-libgcc -O4 -Ofast -march=native'

CGO_CFLAGS_ALLOW='(-fno-schedule-insns|-malign-double|-ffast-math)'

Expand Down Expand Up @@ -35,8 +35,8 @@ hooks: .git/hooks/post-commit .git/hooks/pre-commit
ln -sf $(CURDIR)/$< $@

clean:
rm -frv $GOPATH/pkg/*/github.com/mumax/3/*
rm -frv $GOPATH/bin/mumax3*
rm -frv $(GOPATH)/pkg/*/github.com/mumax/3/*
rm -frv $(GOPATH)/bin/mumax3*
cd cuda && $(MAKE) clean

realclean: clean
Expand Down

0 comments on commit 14563b2

Please sign in to comment.