This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir a$1 # create folder | |
touch a$1/readme # create readme | |
touch a$1/a$1.c # create main c file | |
## Template for readme | |
echo "Autor: Julius Haertl | |
Systemprogrammierung SS 2013 | |
Blatt 2: Prozesse unter Linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "======= Sysprog Build Script =======" | |
for f in $(find $SrvDir* -maxdepth 0 -type d ); | |
do | |
echo "Compiling $f" | |
sourcefile="" | |
for sf in $(find $f -iregex '.*\(c\)' -printf "%f\n") | |
do |
NewerOlder