Skip to content

Instantly share code, notes, and snippets.

@lazywei
Created October 29, 2014 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lazywei/95888df55e4af63f8b04 to your computer and use it in GitHub Desktop.
Save lazywei/95888df55e4af63f8b04 to your computer and use it in GitHub Desktop.
diff --git a/hw3/src/Makefile.in b/hw3/src/Makefile.in
index 00a8a79..8036860 100644
--- a/hw3/src/Makefile.in
+++ b/hw3/src/Makefile.in
@@ -23,7 +23,7 @@ CFLAGS = -g -Wall -DTA_KB_SETTING $(PKGFLAG)
@$(CXX) $(CFLAGS) -I$(EXTINCDIR) -c -o $@ $<
top: $(EXTLINK) target
- @echo -n
+ @/bin/echo -n
clean:
@rm -f $(COBJS)
@@ -39,10 +39,10 @@ extheader: .extheader.mak
.extheader.mak: $(EXTHDRS)
@echo Linking external header files...
@rm -f $@
- @echo -n "$(EXTLINK): " > $@
+ @/bin/echo -n "$(EXTLINK): " > $@
@for hdr in $(EXTHDRS); \
do \
- echo -n "$(EXTINCDIR)/$$hdr " >> $@; \
+ /bin/echo -n "$(EXTINCDIR)/$$hdr " >> $@; \
rm -f $(EXTINCDIR)/$$hdr; \
done
@echo >> $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment