[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
makefile target "all:" not built automatically
From: |
Jon Grant |
Subject: |
makefile target "all:" not built automatically |
Date: |
Tue, 26 Apr 2011 13:31:38 +0100 |
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
- makefile target "all:" not built automatically,
Jon Grant <=