Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created January 30, 2018 07:32
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 hsbt/9bbdb4a80e506602f678d08d42710a54 to your computer and use it in GitHub Desktop.
Save hsbt/9bbdb4a80e506602f678d08d42710a54 to your computer and use it in GitHub Desktop.
~/D/g/r/r/.x86_64-darwin (trunk) > grep -F lex.c Makefile uncommon.mk
Makefile:# * GNU make v.s. HP-UX make # HP-UX make invokes the action if lex.c and keywords has same mtime.
Makefile:lex.c: defs/keywords
Makefile: if cmp -s $(srcdir)/defs/lex.c.src $?; then \
Makefile: $(CP) $(srcdir)/lex.c.blt $@; \
Makefile: $(CP) $? $(srcdir)/defs/lex.c.src && \
Makefile: $(CP) $@ $(srcdir)/lex.c.blt; \
uncommon.mk: $(Q)$(RM) parse.c parse.h lex.c enc/trans/newline.c revision.h
uncommon.mk: $(Q)$(CHDIR) $(srcdir) && $(exec) $(RM) parse.c parse.h lex.c enc/trans/newline.c $(PRELUDES) revision.h
uncommon.mk:common-srcs: $(srcs_vpath)parse.c $(srcs_vpath)lex.c $(srcs_vpath)enc/trans/newline.c $(srcs_vpath)id.c \
uncommon.mk:complex.$(OBJEXT): complex.c
uncommon.mk:parse.$(OBJEXT): lex.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment