Files
builditbreakit-1/Makefile
Jeremy Jones 3aa70da270 first commit
2014-09-26 18:10:05 -07:00

36 lines
849 B
Makefile

#
# A simple makefile for compiling three java classes
#
# define a makefile variable for the java compiler
#
JCC = javac
# define a makefile variable for compilation flags
# the -g flag compiles with debugging information
#
JFLAGS = -g
# typing 'make' will invoke the first target entry in the makefile
# (the default one in this case)
#
default: poop
# this target entry builds the Average class
# the Average.class file is dependent on the Average.java file
# and the rule associated with this entry gives the command to create it
#
poop: append.java
$(JCC) *.java
#Convert.class: Convert.java
# $(JCC) $(JFLAGS) Convert.java
#Volume.class: Volume.java
# $(JCC) $(JFLAGS) Volume.java
# To start over from scratch, type 'make clean'.
# Removes all .class files, so that the next make rebuilds them
#
clean:
$(RM) *.class