32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
DFB_SAMPLE_DIR=$(shell pwd)
|
|
|
|
ifeq ($(CFG_HI_EXPORT_FLAG),)
|
|
SDK_DIR ?= $(CURDIR)/../../..
|
|
include $(SDK_DIR)/base.mak
|
|
endif
|
|
|
|
.PHONY: all clean
|
|
|
|
all:
|
|
cd ${DFB_SAMPLE_DIR}/src ; make -f Makefile-32 install
|
|
cd ${DFB_SAMPLE_DIR}/src/df_neo ; make -f Makefile-32 install
|
|
cd ${DFB_SAMPLE_DIR}/sample_new ; make -f Makefile-32 install
|
|
cd ${DFB_SAMPLE_DIR}/src ; make -f Makefile-32 clean
|
|
cd ${DFB_SAMPLE_DIR}/src/df_neo ; make -f Makefile-32 clean
|
|
cd ${DFB_SAMPLE_DIR}/sample_new ; make -f Makefile-32 clean
|
|
ifeq ($(CFG_HI_64BIT_SYSTEM),y)
|
|
cd ${DFB_SAMPLE_DIR}/src ; make -f Makefile-64 install
|
|
cd ${DFB_SAMPLE_DIR}/src/df_neo ; make -f Makefile-64 install
|
|
cd ${DFB_SAMPLE_DIR}/sample_new ; make -f Makefile-64 install
|
|
endif
|
|
|
|
clean:
|
|
cd ${DFB_SAMPLE_DIR}/src ; make -f Makefile-32 clean
|
|
cd ${DFB_SAMPLE_DIR}/src/df_neo ; make -f Makefile-32 clean
|
|
cd ${DFB_SAMPLE_DIR}/sample_new ; make -f Makefile-32 clean
|
|
ifeq ($(CFG_HI_64BIT_SYSTEM),y)
|
|
cd ${DFB_SAMPLE_DIR}/src ; make -f Makefile-64 clean
|
|
cd ${DFB_SAMPLE_DIR}/src/df_neo ; make -f Makefile-64 clean
|
|
cd ${DFB_SAMPLE_DIR}/sample_new ; make -f Makefile-64 clean
|
|
endif
|