aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e28138f..a15252b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include config.mk
SRC = ${NAME}.c
OBJ = ${SRC:.c=.o} log.o
-all: options ${NAME}
+all: options ${NAME} nldev-handler
options:
@echo ${NAME} build options:
@@ -24,6 +24,10 @@ ${NAME}: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
+# hack for now
+nldev-handler: nldev-handler.o log.o
+ ${CC} -o $@ $^ ${LDFLAGS}
+
clean:
@echo cleaning
@rm -f ${NAME} ${OBJ} ${NAME}-${VERSION}.tar.gz