source:
trunk/sandbox/emit-it/Makefile
@
25
| Revision 25, 271 bytes checked in by xi, 8 years ago (diff) |
|---|
| Rev | Line | |
|---|---|---|
| [11] | 1 | |
| [25] | 2 | ALL = emit-it complex-key-bug trailing-space-bug |
| 3 | ||
| [11] | 4 | .PHONY: default clean |
| 5 | ||
| [25] | 6 | default: $(ALL) |
| [11] | 7 | |
| 8 | clean: | |
| [25] | 9 | rm -f *.o |
| 10 | rm -f $(ALL) | |
| [11] | 11 | |
| [25] | 12 | %.o: %.c |
| 13 | gcc -c $< -o $@ -Wall -Wstrict-prototypes -I${HOME}/include | |
| [11] | 14 | |
| [25] | 15 | $(ALL): %: %.o |
| 16 | gcc $< -o $@ -lsyck -L${HOME}/lib -Wall -Wstrict-prototypes |
Note: See TracBrowser
for help on using the repository browser.
