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