summaryrefslogtreecommitdiff
path: root/wince/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'wince/Makefile.sub')
-rw-r--r--wince/Makefile.sub7
1 files changed, 6 insertions, 1 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index d8f1f86..63a3068 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -28,7 +28,6 @@ iconinc=-I$(icondirs: = -I)
!endif
###############
-VPATH = $(srcdir);$(srcdir)/missing;$(srcdir)/wince
.SUFFIXES: .y .def .lib
!if !defined(CC)
@@ -185,6 +184,10 @@ INSTALLED_LIST= .installed.list
WINMAINOBJ = wincemain.$(OBJEXT)
+arch_hdrdir = $(EXTOUT)/include/$(arch)
+hdrdir = $(srcdir)/include
+VPATH = $(arch_hdrdir)/ruby;$(hdrdir)/ruby;$(srcdir);$(srcdir)/enc;$(srcdir)/missing;$(srcdir)/wince
+
all: $(srcdir)/wince/Makefile.sub $(srcdir)/common.mk
ruby: $(PROGRAM)
@@ -490,6 +493,8 @@ class File
end
<<KEEP
+{$(srcdir)/enc}.c.obj:
+ $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
{$(srcdir)/missing}.c.obj:
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
{$(srcdir)/win32}.c.obj: