root/snippet/console_mine/Makefile
| Revision 85, 203 bytes (checked in by aqua, 21 months ago) |
|---|
| Line | |
|---|---|
| 1 | DEBUG = -DDEBUG -g |
| 2 | CFLAGS = -O3 -pipe -Wall |
| 3 | LDFLAGS = -lm |
| 4 | |
| 5 | OBJS = libmine.o mine.o |
| 6 | all: mine |
| 7 | |
| 8 | .c.o: |
| 9 | gcc -c ${DEBUG} ${CFLAGS} $< |
| 10 | |
| 11 | mine: ${OBJS} |
| 12 | gcc -o mine ${LDFLAGS} ${OBJS} |
| 13 | clean: |
| 14 | rm mine ${OBJS} |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)