Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: make removed my source file Message-ID: <12179@smoke.BRL.MIL> Date: 19 Feb 90 16:21:42 GMT References: <1025@wubios.wustl.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <1025@wubios.wustl.edu> david@wubios.UUCP (David J. Camp) writes: >Here is what it did when I typed 'make': >rm -f xxencode.c >lex -t xxencode.l > xxencode.c >I do not understand why these commands were executed instead >of the ones I specified in my Makefile. "make" contains a built-in list of default rules (just which rules varies from one implementation to another). It appears in your case that these was a built-in rule for making a .c from a .l. You must have had an xxencode.l file with a more recent mod time that xxencode.c.