diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/caesar/Makefile.depend | 19 | ||||
-rw-r--r-- | games/factor/Makefile.depend | 19 | ||||
-rw-r--r-- | games/fortune/datfiles/Makefile.depend | 11 | ||||
-rw-r--r-- | games/fortune/fortune/Makefile.depend | 18 | ||||
-rw-r--r-- | games/fortune/strfile/Makefile.depend | 18 | ||||
-rw-r--r-- | games/fortune/unstr/Makefile.depend | 18 | ||||
-rw-r--r-- | games/grdc/Makefile.depend | 19 | ||||
-rw-r--r-- | games/grdc/grdc.c | 10 | ||||
-rw-r--r-- | games/morse/Makefile.depend | 18 | ||||
-rw-r--r-- | games/number/Makefile.depend | 18 | ||||
-rw-r--r-- | games/pom/Makefile.depend | 19 | ||||
-rw-r--r-- | games/primes/Makefile.depend | 19 | ||||
-rw-r--r-- | games/random/Makefile.depend | 18 |
13 files changed, 219 insertions, 5 deletions
diff --git a/games/caesar/Makefile.depend b/games/caesar/Makefile.depend new file mode 100644 index 0000000..c9f9d52 --- /dev/null +++ b/games/caesar/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/factor/Makefile.depend b/games/factor/Makefile.depend new file mode 100644 index 0000000..fc0b633 --- /dev/null +++ b/games/factor/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/fortune/datfiles/Makefile.depend b/games/fortune/datfiles/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/games/fortune/datfiles/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/fortune/fortune/Makefile.depend b/games/fortune/fortune/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/fortune/fortune/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/fortune/strfile/Makefile.depend b/games/fortune/strfile/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/fortune/strfile/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/fortune/unstr/Makefile.depend b/games/fortune/unstr/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/fortune/unstr/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/grdc/Makefile.depend b/games/grdc/Makefile.depend new file mode 100644 index 0000000..59bc828 --- /dev/null +++ b/games/grdc/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 4632c79..04cc00b 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -150,14 +150,14 @@ main(int argc, char *argv[]) set(tm->tm_min/10, 14); if (t12) { - if (tm->tm_hour > 12) { - tm->tm_hour -= 12; - mvaddstr(YBASE + 5, XBASE + 52, "PM"); - } else { + if (tm->tm_hour < 12) { if (tm->tm_hour == 0) tm->tm_hour = 12; - mvaddstr(YBASE + 5, XBASE + 52, "AM"); + } else { + if (tm->tm_hour > 12) + tm->tm_hour -= 12; + mvaddstr(YBASE + 5, XBASE + 52, "PM"); } } diff --git a/games/morse/Makefile.depend b/games/morse/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/morse/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/number/Makefile.depend b/games/number/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/number/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/pom/Makefile.depend b/games/pom/Makefile.depend new file mode 100644 index 0000000..c9f9d52 --- /dev/null +++ b/games/pom/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/primes/Makefile.depend b/games/primes/Makefile.depend new file mode 100644 index 0000000..c9f9d52 --- /dev/null +++ b/games/primes/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/games/random/Makefile.depend b/games/random/Makefile.depend new file mode 100644 index 0000000..3646e2e --- /dev/null +++ b/games/random/Makefile.depend @@ -0,0 +1,18 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif |