Commit graph

9 commits

Author SHA1 Message Date
Doug Torrance b919e2ddad wmsun: Fix "overflow in implicit constant conversion" compiler warning. 2015-06-14 23:23:24 +01:00
Doug Torrance 11e5cd86da wmsun: Fix "unused parameter" compiler warnings. 2015-06-14 23:23:24 +01:00
Doug Torrance 4d5bfe0d0a wmsun: Add return types to functions. 2015-06-14 23:23:24 +01:00
Doug Torrance 02cb7fea1e wmsun: Remove unused variables. 2015-06-14 23:23:23 +01:00
Doug Torrance 608ca0f523 wmsun: Fix implicit definition warnings.
Add declaration for SunRise() in wmSun.c and move Interp() earlier in
SunRise.c.
2015-06-14 23:23:23 +01:00
Doug Torrance b5f8a9a4d5 wmsun: Update Makefile.
In particular,
- Remove INCDIR, DESTDIR, and LIBDIR definitions.
- Add PREFIX, BINDIR, MANDIR, and INSTALL definitions.
- Add -lm to LIBS.
- Drop COPTS, uname, and INCDIR and add CPPFLAGS and CFLAGS when compiling.
- Drop COPTS, SYSTEM, INCDIR, and LIBDIR and add LDFLAGS when linking.
- Use INSTALL when installing, create installation directories, use new
  BINDIR and MANDIR directories.
2015-06-14 23:23:23 +01:00
Doug Torrance a3f809008c wmsun: Move source files to top directory. 2015-06-14 23:23:23 +01:00
Doug Torrance 414b635dbd wmsun: Update to latest version of wmgeneral library. 2015-06-14 23:23:23 +01:00
Doug Torrance 22558c813b wmsun: Add version 1.03 to repository.
Obtained from [1].

[1] http://snapshot.debian.org/archive/debian/20091106T012259Z/pool/main/w/wmsun/wmsun_1.03%2B1.orig.tar.gz
2015-06-14 23:22:04 +01:00