Created
June 30, 2011 05:02
-
-
Save mustpax/1055667 to your computer and use it in GitHub Desktop.
Skeleton 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
| # Basic compilation rules for some common file formats | |
| TARGETS = # Actual files here | |
| .coffee.js : | |
| coffee -c $< | |
| .SUFFIXES: .js .coffee | |
| SRC=$(wildcard *.c) | |
| OBJS=$(SRC:.c=.o) | |
| all: $(OBJS) | |
| # C rules | |
| executable: $(SRC) | |
| gcc -o $@ $^ $(CFLAGS) $(LIBS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment