]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/audio-preprocessing.git/blobdiff - file_demo_bios/am572x/build/makefile
update the makefile for Linux
[processor-sdk/audio-preprocessing.git] / file_demo_bios / am572x / build / makefile
index 3ebaf3d7b0ddf1bd3ccbed4cc51cf3b6b7713bf8..3c3e38610ec67c905aa8852b2919c87ae1a65758 100644 (file)
@@ -38,8 +38,14 @@ $(GEN_CMDS__FLAG) \
 \r
 -include ../makefile.init\r
 \r
+OS := $(shell uname)\r
+ifeq ($(OS), Linux)\r
+RM := rm -f\r
+RMDIR := rm -d -f -r\r
+else\r
 RM := DEL /F\r
 RMDIR := RMDIR /S/Q\r
+endif\r
 \r
 # All of the sources participating in the build are defined here\r
 ##-include subdir_vars.mk\r