Ensure that TerraGear builds under Linux with Fred's changes.
This commit is contained in:
parent
191262f35a
commit
642c711289
3 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ libTerra_a_SOURCES = \
|
|||
Vec2.h Vec3.h
|
||||
|
||||
terra_SOURCES = \
|
||||
cmdline.cc greedy.cc output.cc terra.cc terra.h version.h
|
||||
cmdline.cc getopt.c getopt.h greedy.cc output.cc terra.cc terra.h version.h
|
||||
|
||||
terra_LDADD = libTerra.a
|
||||
|
||||
|
|
|
@ -30,7 +30,9 @@
|
|||
long-named option. Because this is not POSIX.2 compliant, it is
|
||||
being phased out. */
|
||||
#undef GETOPT_COMPAT
|
||||
#ifndef __STDC__
|
||||
#define __STDC__ 1
|
||||
#endif
|
||||
|
||||
/* This version of `getopt' appears to the caller like standard Unix `getopt'
|
||||
but it behaves differently for the user, since it allows the user
|
||||
|
|
|
@ -4,7 +4,7 @@ bin_PROGRAMS = terrafit
|
|||
terrafit_SOURCES = terrafit.cc
|
||||
terrafit_LDADD = $(top_builddir)/src/Prep/Terra/libTerra.a \
|
||||
$(top_builddir)/src/Lib/Array/libArray.a \
|
||||
-lsgbucket -lsgstructure -lsgmisc -lsgdebug -lz
|
||||
-lsgbucket -lsgstructure -lsgmisc -lsgdebug -lz -lplibul
|
||||
|
||||
EXTRA_DIST = terrafit.README terrafit.py.in
|
||||
|
||||
|
|
Loading…
Reference in a new issue