xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | #******************************************************************************* |
| 2 | # include application makefile |
| 3 | #******************************************************************************* |
| 4 | include $(COMMON_MK) |
| 5 | |
| 6 | #******************************************************************************* |
| 7 | # execute |
| 8 | #******************************************************************************* |
| 9 | EXEC_server = test_binder_server |
| 10 | EXEC_client = test_binder_client |
| 11 | EXEC_server_async = test_binder_server_async |
| 12 | |
| 13 | #******************************************************************************* |
| 14 | # objects |
| 15 | #******************************************************************************* |
| 16 | #SUB_MDL = ipc client service demo |
| 17 | |
| 18 | #******************************************************************************* |
| 19 | # targets |
| 20 | #******************************************************************************* |
| 21 | #.PHONY: $(SUB_MDL) |
| 22 | |
| 23 | #all: $(SUB_MDL) |
| 24 | # @echo $(SUB_MDL) |
| 25 | # @echo "Compiling has completed!" |
| 26 | all: $(EXEC_server) $(EXEC_client) $(EXEC_server_async) |
| 27 | |
| 28 | romfs: |
| 29 | $(ROMFSINST) $(EXEC_server) /bin/$(EXEC_server) |
| 30 | $(ROMFSINST) $(EXEC_client) /bin/$(EXEC_client) |
| 31 | $(ROMFSINST) $(EXEC_server_async) /bin/$(EXEC_server_async) |
| 32 | #@cp $(EXEC_server) $(EXEC_server).elf |
| 33 | #@cp $(EXEC_client) $(EXEC_client).elf |
| 34 | |
| 35 | #clean: |
| 36 | # for lib in ${SUB_MDL} ; do \ |
| 37 | # ${MAKE} -j1 -C $$lib clean ; \ |
| 38 | # done; |
| 39 | # -rm -f $(EXEC_server) $(EXEC_client) *.elf *.gdb *.o |
| 40 | |
| 41 | |
| 42 | #%.o:%.cpp |
| 43 | # @echo Compile $< |
| 44 | # $(CXX) $(LOCAL_CPPFLAGS) $(LOCAL_C_INCLUDES) -c $< -o $@ |
| 45 | |
| 46 | |
| 47 | #$(SUB_MDL): |
| 48 | # [ ! -d $@ ] || ${MAKE} -C $@ all |
| 49 | |