3 # Machine-independent code
6 #CFLAGS = -O $(MORECPP) -arch i386 -g
11 ifneq "" "$(wildcard /bin/mkdirs)"
14 MKDIRS = /bin/mkdir -p
21 # these paths are only valid in subdirectories of this directory
23 OBJROOT=`pwd`/../../obj/gen
24 SYMROOT=`pwd`/../../sym
25 DSTROOT=`pwd`/../../dst
28 VPATH = $(OBJROOT):$(SYMROOT)
32 all tags clean debug install installhdrs:
33 @for i in ${SUBDIRS}; \
35 echo ================= make $@ for $$i =================; \
37 "OBJROOT=$(OBJROOT)/$$i" \
38 "SYMROOT=$(SYMROOT)" \
39 "DSTROOT=$(DSTROOT)" \
40 "SRCROOT=$(SRCROOT)" \
41 "RC_ARCHS=$(RC_ARCHS)" \
42 "RC_KANJI=$(RC_KANJI)" \
43 "JAPANESE=$(JAPANESE)" \
44 "RC_CFLAGS=$(RC_CFLAGS)" $@ \
49 tar cf - . | (cd ${SRCROOT}; tar xfBp -)