aboutsummaryrefslogtreecommitdiffstats
path: root/misc_cmds/ncal
diff options
context:
space:
mode:
Diffstat (limited to 'misc_cmds/ncal')
-rw-r--r--misc_cmds/ncal/Makefile6
-rw-r--r--misc_cmds/ncal/ncal.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/misc_cmds/ncal/Makefile b/misc_cmds/ncal/Makefile
new file mode 100644
index 0000000..96408c6
--- /dev/null
+++ b/misc_cmds/ncal/Makefile
@@ -0,0 +1,6 @@
+PROG= ncal
+SRCS= calendar.c easter.c ncal.c
+
+LDADD=-lncursesw
+
+.include <bsd.prog.mk>
diff --git a/misc_cmds/ncal/ncal.c b/misc_cmds/ncal/ncal.c
index 5a5cbc3..105fa95 100644
--- a/misc_cmds/ncal/ncal.c
+++ b/misc_cmds/ncal/ncal.c
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <calendar.h>
+#include "calendar.h"
#include <ctype.h>
#include <err.h>
#include <langinfo.h>