Subversion Repositories svn.Prod repos

Rev

Blame | Last modification | View Log | RSS feed

#
# gmake
#  setp PROG variabele in calling file
#

.PHONY = clean run

$(PROG).class: $(PROG).java
        @echo "INFO: Compiling $^ to $@"
        javac $^

clean:
        @echo "INFO: Cleaning $(PROG)"
        rm -f $(PROG).class

run:    $(PROG).class
        @echo "INFO: Running $(PROG)"
        java $(PROG)

all:
        echo "$(PROG)"