* harbour/make_gcc.sh
* harbour/make_gnu.bat
* harbour/make_gnu.sh
* harbour/config/lib.cf
* harbour/config/bin.cf
+ added MK_USR to pass GNU MAKE flags
* harbour/source/vm/set.c
* minor cleanup and simplifications in hb_setSetItem().
* grouped SETs with the same item type in hb_setSetItem() function
together.
47 lines
750 B
CFEngine3
47 lines
750 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifneq ($(HB_ARCHITECTURE),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
include $(TOP)$(ROOT)config/global.cf
|
|
include $(TOP)$(ROOT)config/c.cf
|
|
include $(TOP)$(ROOT)config/prg.cf
|
|
|
|
EXE_NAME=
|
|
|
|
ifneq ($(C_MAIN),)
|
|
ifeq ($(EXE_NAME),)
|
|
EXE_NAME = $(C_MAIN:.c=$(EXE_EXT))
|
|
endif
|
|
endif
|
|
|
|
ifneq ($(PRG_MAIN),)
|
|
ifeq ($(EXE_NAME),)
|
|
EXE_NAME = $(PRG_MAIN:.prg=$(EXE_EXT))
|
|
endif
|
|
endif
|
|
|
|
EXE_ARCH = $(ARCH_DIR)/$(EXE_NAME)
|
|
LIB_DIR = $(TOP)$(ROOT)lib/$(ARCH_DIR)
|
|
|
|
ALL_OBJS = $(ALL_C_OBJS) $(ALL_PRG_OBJS)
|
|
|
|
first:: dirbase descend
|
|
|
|
descend :
|
|
@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile 'TOP=$(GRANDP)' $(EXE_NAME) $(MK_USR)
|
|
|
|
$(EXE_NAME) : $(ALL_OBJS)
|
|
$(LD_RULE)
|
|
|
|
|
|
INSTALL_OBJS = $(EXE_ARCH)
|
|
INSTALL_DIR = $(HB_BIN_INSTALL)
|
|
|
|
include $(TOP)$(ROOT)config/install.cf
|
|
|
|
endif
|
|
endif
|