2008-09-15 01:07:45 -05:00
|
|
|
#
|
|
|
|
# wrapper Makefile for auto-generated make files
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# PROJECT MAKEFILES
|
|
|
|
#############################################################################
|
2008-09-15 02:50:57 -05:00
|
|
|
MAKE_FILE = Makefile.$(MOD_CONFIG)
|
|
|
|
-include $(MAKE_FILE)
|
2008-09-15 01:07:45 -05:00
|
|
|
|
|
|
|
#############################################################################
|
2008-09-15 02:50:57 -05:00
|
|
|
# The compiler command line for each src code file to compile
|
2008-09-15 01:07:45 -05:00
|
|
|
#############################################################################
|
2008-09-15 02:50:57 -05:00
|
|
|
DO_CC = $(CPLUS) $(INCLUDES) -DARCH=$(ARCH)
|
2008-09-15 01:07:45 -05:00
|
|
|
|
2008-09-15 02:50:57 -05:00
|
|
|
ifeq (_DEBUG,$(findstring _DEBUG,$(CFLAGS)))
|
|
|
|
DO_CC += $(DEFINES) $(DBG_CFLAGS)
|
|
|
|
else
|
|
|
|
DO_CC += $(CFLAGS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
DO_CC += -o $@ -c $<
|
2008-09-15 01:07:45 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf obj/$(NAME)_$(ARCH)
|
|
|
|
rm -f $(NAME)_$(ARCH).$(SHLIBEXT)
|
2008-09-15 02:50:57 -05:00
|
|
|
|