Removed debug prints from the preprocessing script

This commit is contained in:
jpekkila
2019-10-08 00:31:15 +03:00
parent 44a86f5e80
commit b667735906

View File

@@ -1,4 +1,4 @@
#!/bin/bash
# Preprocesses the give file using GCC. This script is usually automatically called in
# ./compile.sh, but may be called also individually for debugging purposes.
cat $1 | gcc ${@:2} -x c -E - | sed "s/#.*//g" | tee ${PWD}/$(basename -- "$1").preprocessed
cat $1 | gcc ${@:2} -x c -E - | sed "s/#.*//g" > $(basename -- "$1").preprocessed #| tee ${PWD}/$(basename -- "$1").preprocessed