Files
SAE32_2024/tests/C/test-18-path-characters/make/Makefile

21 lines
683 B
Makefile

all: ~/temp/test.txt /tmp/test.txt ./path/with/slashes/test.txt path-with-dashes.txt path_with_underscores.txt
~/temp/test.txt:
mkdir -p ~/temp
echo "Content in home directory" > ~/temp/test.txt
/tmp/test.txt:
echo "Content in tmp directory" > /tmp/test.txt
./path/with/slashes/test.txt:
mkdir -p ./path/with/slashes
echo "Content in path with slashes" > ./path/with/slashes/test.txt
path-with-dashes.txt:
echo "Content in file with dashes" > path-with-dashes.txt
path_with_underscores.txt:
echo "Content in file with underscores" > path_with_underscores.txt
clean:
rm -rf ~/temp/test.txt /tmp/test.txt ./path/with/slashes path-with-dashes.txt path_with_underscores.txt