Skip to content

Commit f2a2876

Browse files
vdyegitster
authored andcommitted
contrib/scalar: fix 'all' target in Makefile
Add extra ':' to second 'all' target definition to allow 'scalar' to build. Without this fix, the 'all:' and 'all::' targets together cause a build failure when 'scalar' build is enabled with 'INCLUDE_SCALAR': Makefile:14: *** target file `all' has both : and :: entries. Stop. Signed-off-by: Victoria Dye <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8af0699 commit f2a2876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/scalar/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include ../../config.mak.uname
1111
TARGETS = scalar$(X) scalar.o
1212
GITLIBS = ../../common-main.o ../../libgit.a ../../xdiff/lib.a
1313

14-
all: scalar$(X) ../../bin-wrappers/scalar
14+
all:: scalar$(X) ../../bin-wrappers/scalar
1515

1616
$(GITLIBS):
1717
$(QUIET_SUBDIR0)../.. $(QUIET_SUBDIR1) $(subst ../../,,$@)

0 commit comments

Comments
 (0)