]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0079.git/blobdiff - EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile_win
Adding rules.make to makefiles - PSDK5.0
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Release / makefile_win
index b19744d8eb12ac0a110fb8875a2ae26cc319adf7..3a8b646de4f8c80fb195a647ebe5116ec3015b73 100755 (executable)
@@ -1,3 +1,9 @@
+ifeq ($(RULES_MAKE), )
+include $(PDK_INSTALL_PATH)/ti/build/Rules.make
+else
+include $(RULES_MAKE)
+endif
+
 ifndef MAKE
 export MAKE = gmake
 endif
@@ -397,9 +403,13 @@ BIN_OUTPUTS__QUOTED += \
 
 
 # All Target
-all: EcMasterDemo.out
+all: EcLib EcMasterDemo.out
+
 
 # Tool invocations
+EcLib:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release all
+       
 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
        @echo 'Building target: $@'
        @echo 'Invoking: GNU Linker'
@@ -417,12 +427,13 @@ EcMasterDemo.hex: $(EXE_OUTPUTS)
 
 # Other Targets
 clean:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release clean   
        -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
        -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
        -$(RM) "EcTimer.o" "I2C_soc.o" "UART_soc.o" "main.o" "EcMasterDemo\ATEMDemo.o" "EcMasterDemo\ATEMDemoMain.o" "EcMasterDemo\Logging.o" "EcMasterDemo\ecatDemoCommon.o" "EcMasterDemo\ecatNotification.o" "EcMasterDemo\selectLinkLayer.o" "eni\MasterENI.o" 
        -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d" 
        -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d" 
-       -$(RM) "EcMasterDemo.out.rprc" "EcMasterDemo.map"
+       -$(RM) "app" "EcMasterDemo.out.rprc" "EcMasterDemo.map"
        -@echo 'Finished clean'
        -@echo ' '