From d8e3d181d18cfdfb681e1c3b05b885d07fc04941 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 24 Apr 2008 12:46:43 +0200 Subject: [PATCH] Make.rules: Move the all: target before the implicit rules to avoid confusing FreeBSD make. --- Make.rules.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Make.rules.in b/Make.rules.in index 84842d4756c..76a4d42703e 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -125,6 +125,15 @@ OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_ RCOBJS = $(RC_SRCS:.rc=.res.o) LINTS = $(C_SRCS:.c=.ln) +# 'all' target first in case the enclosing Makefile didn't define any target + +all: + +filter: dummy + @$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all + +.PHONY: all filter + # Implicit rules .SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c @MAINTAINER_MODE@ .sfd .ttf .svg .ico @@ -193,15 +202,6 @@ LINTS = $(C_SRCS:.c=.ln) $(ICOTOOL) -c -o $@ $*-16.png $*-32.png $*-48.png $(RM) $*-16.png $*-32.png $*-48.png -# 'all' target first in case the enclosing Makefile didn't define any target - -all: - -filter: dummy - @$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all - -.PHONY: all filter - # Rules for IDL files dlldata.c: $(WIDL) Makefile.in