Created
January 31, 2013 23:21
-
-
Save akofink/4687645 to your computer and use it in GitHub Desktop.
An example Java Makefile. It's true! It can be used for more than just C.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: clean CompileMessage LinkedRankList.class Program_1.class | |
CompileMessage: | |
@echo 'Compiling source...' | |
LinkedRankList.class: | |
@printf 'LinkedRankList' | |
@javac LinkedRankList.java >> makelog | |
@echo ' - Success' | |
Program_1.class: | |
@printf 'Program_1' | |
@javac Program_1.java >> makelog | |
@echo ' - Success' | |
clean: | |
@echo 'Removing binaries...' | |
@rm -rf *.class makelog >> makelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment