Skip to content

Commit 0dec707

Browse files
committed
Replace gcc with $CXX in Makefile
1 parent 701fb8e commit 0dec707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PREFIX ?= /usr/local
1010
BINDIR ?= $(PREFIX)/bin
1111
MANDIR ?= $(PREFIX)/share/man
1212

13-
SYS := $(shell gcc -dumpmachine)
13+
SYS := $(shell $(CXX) -dumpmachine)
1414
CYGWIN := $(findstring cygwin,$(SYS))
1515
MINGW32 := $(findstring mingw32,$(SYS))
1616

@@ -84,7 +84,7 @@ CLEAN_TARGETS := clean-bin $(CLEAN_MAN_TARGETS-$(ENABLE_MAN))
8484
clean: $(CLEAN_TARGETS)
8585

8686
clean-bin:
87-
rm -f $(OBJFILES) git-crypt
87+
rm -f $(OBJFILES) git-crypt git-crypt.exe
8888

8989
clean-man:
9090
rm -f man/man1/git-crypt.1

0 commit comments

Comments
 (0)