Preparing for switch to C.

This commit is contained in:
Nicolás A. Ortega 2016-07-04 12:16:35 +02:00
parent eebc90e392
commit 19f9c3c333
No known key found for this signature in database
GPG Key ID: 4825F773B8D44EFF
4 changed files with 7 additions and 31 deletions

7
.gitignore vendored
View File

@ -1,2 +1,5 @@
# Ignore the binaries.
bin/
# Ignore CMake files:
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
Makefile

View File

@ -1,27 +0,0 @@
<project name="MMMCalc" basedir="." default="main" >
<property name="src.dir" value="src" />
<property name="bin.dir" value="bin" />
<property name="classes.dir" value="${bin.dir}/classes" />
<property name="jar.dir" value="${bin.dir}/jar" />
<property name="main-class" value="mmmcalc.MMMCalc" />
<target name="clean" >
<delete dir="bin" />
</target>
<target name="compile" >
<mkdir dir="${classes.dir}" />
<javac includeantruntime="false" srcdir="${src.dir}" destdir="${classes.dir}" />
</target>
<target name="jar" depends="compile" >
<mkdir dir="${jar.dir}" />
<jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}" >
<manifest>
<attribute name="Main-Class" value="${main-class}" />
</manifest>
</jar>
</target>
<target name="main" depends="jar" />
</project>

0
build/.keep Normal file
View File

View File

@ -94,7 +94,7 @@ public class MMMCalc {
calcStdDev();
calcVariance();
}
} else {
} else {
System.out.println("You did not mention any variables. Use the -h argument for help.");
}
}
@ -271,7 +271,7 @@ public class MMMCalc {
}
System.out.print("\n\n");
}*/
System.out.println("Q3 is not currently functional.");
System.out.println("Q3 is not currently functional.\n");
}
private static void calcMode() {