Hello

I noticed that the "all:" target must be at the top of a makefile,
unless explicitly built by "make all". Is this expected? It seems
quite limiting..

I'm running GNU Make 3.81, built for Windows32.

Please retain my email address in any replies.

Best regards, Jon


Output:

C:\>make
system target

C:\>make all
system target
all target

C:\>

=================================
save the following text as "makefile" in an empty folder.


# Simple makefile example

.PHONY: system

system:
        @echo system target


all: system
        @echo all target

# End simple makefile example

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to