Created
May 15, 2014 16:41
-
-
Save SiegeLord/2519eb4536d5a6a17099 to your computer and use it in GitHub Desktop.
Simple makefile
This file contains hidden or 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
all: main | |
main: main.rs Makefile | |
rustc --opt-level 3 --dep-info [email protected] -L ~/lib -g $< | |
-include main.dep | |
.PHONY: clean | |
clean: | |
rm -f main main.dep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment