| # | Line 3 | Line 3 | |
|---|---|---|
| 3 | # where libukcprog can be found for compiling | |
| 4 | LIBUKCPROG = ../libukcprog | |
| 5 | ||
| 6 | < | CFLAGS = -O3 -Wall |
| 6 | > | CFLAGS = -O3 -Wall |
| 7 | ||
| 8 | INCLUDES = -I${LIBUKCPROG} | |
| 9 | < | LIBS = -L${LIBUKCPROG} -lukcprog |
| 9 | > | LIBS = -L${LIBUKCPROG} -lukcprog -lkvm |
| 10 | ||
| 11 | all: freebsd | |
| 12 | ||
| # | Line 18 | Line 18 | freebsd.o: freebsd.c ${LIBUKCPROG}/ukcprog.h | |
| 18 | ||
| 19 | freebsd: freebsd.o ${LIBUKCPROG}/libukcprog.a | |
| 20 | ${CC} -static ${CFLAGS} -o freebsd freebsd.o ${LIBS} | |
| 21 | + | chgrp kmem freebsd |
| 22 | + | chmod g+s freebsd |
| 23 | ||
| 24 | clean: | |
| 25 | rm -f freebsd freebsd.o | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |