* source/vm/Makefile
+ if HB_GT_LIB == os2pm then compiles mainpm.c instead of main.c
* source/vm/mainpm.c
* little changes to make it work.
NOTE: after gcc creates an executable file you need to issue an:
emxbind -ep filename.exe
to mark it as a PM executable, failing to do so the executable file is a
VIO one and all calls to WinXxx() functions will fail
51 lines
687 B
Makefile
51 lines
687 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
ifeq ($(HB_ARCHITECTURE),w32)
|
|
C_MAIN := mainstd.c mainwin.c
|
|
else
|
|
ifeq ($(HB_GT_LIB),os2pm)
|
|
C_MAIN := mainpm.c
|
|
else
|
|
C_MAIN := main.c
|
|
endif
|
|
endif
|
|
|
|
C_SOURCES=\
|
|
arrays.c \
|
|
arrayshb.c \
|
|
asort.c \
|
|
break.c \
|
|
classes.c \
|
|
cmdarg.c \
|
|
debug.c \
|
|
dynsym.c \
|
|
codebloc.c \
|
|
estack.c \
|
|
eval.c \
|
|
extend.c \
|
|
fm.c \
|
|
garbage.c \
|
|
hvm.c \
|
|
initexit.c \
|
|
initsymb.c \
|
|
itemapi.c \
|
|
macro.c \
|
|
$(C_MAIN) \
|
|
memvars.c \
|
|
memvclip.c \
|
|
pcount.c \
|
|
proc.c \
|
|
pvalue.c \
|
|
runner.c \
|
|
|
|
PRG_SOURCES=\
|
|
harbinit.prg \
|
|
|
|
LIBNAME=vm
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|