Preparing for switch to C.
This commit is contained in:
parent
eebc90e392
commit
19f9c3c333
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
# Ignore the binaries.
|
# Ignore CMake files:
|
||||||
bin/
|
CMakeCache.txt
|
||||||
|
CMakeFiles/
|
||||||
|
cmake_install.cmake
|
||||||
|
Makefile
|
||||||
|
27
build.xml
27
build.xml
@ -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
0
build/.keep
Normal file
@ -94,7 +94,7 @@ public class MMMCalc {
|
|||||||
calcStdDev();
|
calcStdDev();
|
||||||
calcVariance();
|
calcVariance();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
System.out.println("You did not mention any variables. Use the -h argument for help.");
|
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.print("\n\n");
|
||||||
}*/
|
}*/
|
||||||
System.out.println("Q3 is not currently functional.");
|
System.out.println("Q3 is not currently functional.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void calcMode() {
|
private static void calcMode() {
|
||||||
|
Loading…
Reference in New Issue
Block a user