bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'How makefiles are remade'


From: Noel Yap
Subject: Re: 'How makefiles are remade'
Date: Tue, 20 Apr 2004 17:23:05 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

This makefile works:

.PHONY: all

all: ;

include ticks

ticks:
        @touch $(@)


Try adding to it little by little until it stops working.

Noel

Jim wrote:

Noel Yap wrote:

It would help if you can post a /minimal/ makefile that demonstrates the problem.

right here - there is no fewer statements that can be done to make a makefile which creates a makefile which creates a makefile (and no that's not redunant). It was a attached - here it is done verbatim.

I suppose I can strip off the remake - since if make actually worked, it would be unessecary....


.PHONY: all

all: ;

include ticks

ticks: Makefile bob dillon
@echo TICKS=$(patsubst %ILI,%L,$(patsubst %XXXXIX,%IL,$(patsubst %IXI,%X,$(patsubst %VIV,%IX,$(patsubst %IVI,%V,$(patsubst %IIII,%IV,$(TICKS)I))))))>ticks
    @echo Prior Ticks : $(TICKS)


include x

bob dillon:
    @echo . >$@;

x:Makefile bob dillon
    @echo include y >x
    @echo y: $@ $? >>x
    @echoto -c x @echo fakeall: \>y
    @echoto -c x @./echoto -c y @echo hey we made it:$(TICKS)

Makefile: ;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]