Permalink
Browse files

added in skeleton for makefile

  • Loading branch information...
1 parent 16a46fe commit 1451d0388de1b0d26dbb152e13e6ac769c58f632 @alihelmy committed Apr 21, 2012
Showing with 23 additions and 0 deletions.
  1. +23 −0 LessonOne/make.mf
View
@@ -0,0 +1,23 @@
+JCLASSPATH = ../lib/lwjgl.jar;../lib/lwjgl-util.jar;
+JFLAGS = -g -classpath $(JCLASSPATH)
+JC = javac
+JARMANIFEST = lessonOne.mf
+JARFLAGS = cmf $(JARMANIFEST)
+JAR = jar
+
+.SUFFIXES: .java .class
+
+.java.class:
+ $(JC) $(JFLAGS) $*.java
+
+CLASSES = \
+ LessonOne.java \
+ ShaderTriangle.java
+
+classes: $(CLASSES:.java=.class)
+
+all: classes
+ $(JAR) $(JARFLAGS) lessonOne.jar *.class ../lib
+
+clean:
+ $(RM) *.class

0 comments on commit 1451d03

Please sign in to comment.