hello-world/c/test.sh

14 lines
209 B
Bash
Raw Permalink Normal View History

2024-04-04 19:44:52 +00:00
#!/bin/bash
2024-04-06 23:47:16 +00:00
echo "### Compiling..."
2024-04-04 19:44:52 +00:00
gcc helloworld.c -o helloworld
2024-04-06 23:47:16 +00:00
gcc echo.c -o echo
echo "### Hello World:"
./helloworld
echo "### Echo:"
./echo Word!
echo "### Cleaning up..."
rm helloworld
rm echo