Skip to content

Commit

Permalink
Add missing includes and libs
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzeslaus committed Sep 28, 2024
1 parent 9c36b11 commit dce984f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions raster/r.sim/r.sim.sediment/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PGM=r.sim.sediment

EXTRA_CLEAN_DIRS=doxygenhtml

LIBES = $(SIMLIB) $(GMATHLIB) $(GISLIB) $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(SIMDEP) $(GMATHDEP) $(GISDEP)
LIBES = $(SIMLIB) $(GMATHLIB) $(GISLIB) $(RASTERLIB) $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(SIMDEP) $(GMATHDEP) $(GISDEP) $(RASTERDEP)
EXTRA_INC = $(OPENMP_INCPATH) $(VECT_INC)
EXTRA_CFLAGS = -I ../simlib $(VECT_CFLAGS) $(OPENMP_CFLAGS)

Expand Down
3 changes: 2 additions & 1 deletion raster/r.sim/r.sim.sediment/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
#endif
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/raster.h>
#include <grass/linkm.h>
#include <grass/bitmap.h>
#include <grass/glocale.h>
Expand Down Expand Up @@ -380,7 +381,7 @@ int main(int argc, char *argv[])
#else
threads = 1;
#endif
if (threads > 1 && Rast_mask_is_present() != NULL) {
if (threads > 1 && Rast_mask_is_present()) {
G_warning(_("Parallel processing disabled due to active mask."));
threads = 1;
}
Expand Down
4 changes: 2 additions & 2 deletions raster/r.sim/r.sim.water/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PGM=r.sim.water

EXTRA_CLEAN_DIRS=doxygenhtml

LIBES = $(SIMLIB) $(GMATHLIB) $(GISLIB) $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(SIMDEP) $(GMATHDEP) $(GISDEP)
LIBES = $(SIMLIB) $(GMATHLIB) $(GISLIB) $(RASTERLIB) $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(SIMDEP) $(GMATHDEP) $(GISDEP) $(RASTERDEP)
EXTRA_INC = $(VECT_INC) $(OPENMP_INCPATH)
EXTRA_CFLAGS = -I ../simlib $(VECT_CFLAGS) $(OPENMP_CFLAGS)

Expand Down
1 change: 1 addition & 0 deletions raster/r.sim/r.sim.water/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#endif
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/raster.h>
#include <grass/linkm.h>
#include <grass/bitmap.h>
#include <grass/glocale.h>
Expand Down
4 changes: 2 additions & 2 deletions vector/v.surf.rst/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PGM=v.surf.rst

EXTRA_CLEAN_DIRS=doxygenhtml

LIBES = $(INTERPFLLIB) $(QTREELIB) $(INTERPDATALIB) $(GMATHLIB) $(VECTORLIB) $(DBMILIB) $(GISLIB) $(MATHLIB)
LIBES = $(INTERPFLLIB) $(QTREELIB) $(INTERPDATALIB) $(GMATHLIB) $(RASTERLIB) $(VECTORLIB) $(DBMILIB) $(GISLIB) $(MATHLIB)
EXTRA_LIBS = $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(INTERPFLDEP) $(QTREEDEP) $(INTERPDATADEP) $(GMATHDEP) $(VECTORDEP) $(DBMIDEP) $(GISDEP)
DEPENDENCIES = $(INTERPFLDEP) $(QTREEDEP) $(INTERPDATADEP) $(GMATHDEP) $(RASTERDEP) $(VECTORDEP) $(DBMIDEP) $(GISDEP)
EXTRA_INC = $(VECT_INC) $(OPENMP_INCPATH)
EXTRA_CFLAGS = $(VECT_CFLAGS) $(OPENMP_CFLAGS)

Expand Down
1 change: 1 addition & 0 deletions vector/v.surf.rst/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/raster.h>
#include <grass/dbmi.h>
#include <grass/glocale.h>
#include <grass/linkm.h>
Expand Down

0 comments on commit dce984f

Please sign in to comment.