In GNU make, Variables and functions in all parts of a makefile are expanded when read, so include of rules.mak must be done before using variable defined in it.

svn path=/trunk/; revision=1390
This commit is contained in:
Nedko Arnaudov 2000-10-08 10:48:10 +00:00
parent a2d079723b
commit 4e21487a31

View file

@ -1,7 +1,10 @@
# $Id: Makefile,v 1.2 2000/10/08 10:48:10 narnaoud Exp $
#
# ReactOS makefile for RegExpl
#
include ../../rules.mak
TARGET_NAME=regexpl
ROS_DIR=../../../reactos
@ -14,7 +17,6 @@ IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a
IMPORT_USER32=$(ROS_LIB)/user32/user32.a
IMPORT_CRTDLL=$(ROS_LIB)/crtdll/crtdll.a
all: $(TARGET_NAME)$(EXE_POSTFIX)
OBJECTS = \
@ -90,7 +92,5 @@ else
$(CP) $* ../$(DIST_DIR)/apps\$*
endif
include ../../rules.mak
# EOF