Changed
# Add _hsc.c files to the cbits library
SRCS += $(wildcard ../*_hsc.c)
(which didn't work because SRCS has already been pattern-matched and
substituted into other make variables to death by then) to
# Add _hsc.c files to the cbits library
C_SRCS += $(wildcard ../*_hsc.c)
_cbits := _cbits
STUBOBJS += $(HSC_C_OBJS)
# Add _hsc.c files to the cbits library
_cbits := _cbits
STUBOBJS += $(HSC_C_OBJS)
# Add _hsc.c files to the cbits library
-SRCS += $(wildcard ../*_hsc.c)
+C_SRCS += $(wildcard ../*_hsc.c)
# Make .hsc.h include files from the directory above visible
SRC_CC_OPTS += -I..
endif
# Make .hsc.h include files from the directory above visible
SRC_CC_OPTS += -I..
endif
#----------------------------------------
# Libraries/archives
#
#----------------------------------------
# Libraries/archives
#
-# Build $(LIBRARY) from $(LIBOJBS)+$(STUBOBJS)
+# Build $(LIBRARY) from $(LIBOBJS)+$(STUBOBJS)