cstool: make it compile with GCC on Linux

This commit is contained in:
Nguyen Anh Quynh 2016-10-10 23:52:29 +08:00
parent 9d8e212dd4
commit 8f60a5f212
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME)
cstool: cstool.o cstool: cstool.o
ifeq ($(V),0) ifeq ($(V),0)
$(call log,LINK,$@) $(call log,LINK,$@)
@${CC} $(LDFLAGS) $< -o $@ @${CC} $< $(LDFLAGS) -o $@
else else
${CC} $(LDFLAGS) $< -o $@ ${CC} $< $(LDFLAGS) -o $@
endif endif
clean: clean: