Skip to content
Snippets Groups Projects
Commit 0086dbb0 authored by Amorilia's avatar Amorilia
Browse files

Some Makefile and compile fixes.

parent c6220971
No related branches found
No related tags found
No related merge requests found
......@@ -63,10 +63,11 @@ CCOPTS2 = $(CCOPTS1)
# OBJS in execution frequency order. CFILES after libqhull.c are alphabetical
OBJS = user.o global.o random.o stat.o io.o geom2.o poly2.o \
merge.o qhull.o geom.o poly.o qset.o mem.o
merge.o geom.o poly.o qset.o mem.o libqhull.o usermem.o userprintf.o \
rboxlib.o
CFILES= unix.c libqhull.c geom.c geom2.c global.c io.c mem.c merge.c poly.c \
poly2.c random.c qset.c stat.c user.c qconvex.c qdelaun.c qhalf.c qvoronoi.c
poly2.c random.c qset.c stat.c user.c qconvex.c qdelaun.c qhalf.c qvoronoi.c usermem.c userprintf.c rboxlib.c
HFILES= user.h libqhull.h qhull_a.h geom.h io.h mem.h merge.h poly.h random.h qset.h stat.h
TXTFILES= ../Announce.txt ../REGISTER.txt ../COPYING.txt ../README.txt Changes.txt
DOCFILES= ../html/rbox.txt ../html/qhull.txt
......@@ -86,7 +87,7 @@ qconvex.o: libqhull.h user.h mem.h
qdelaun.o: libqhull.h user.h mem.h
qhalf.o: libqhull.h user.h mem.h
qvoronoi.o: libqhull.h user.h mem.h
qhull.o: $(HFILES)
libqhull.o: $(HFILES)
geom.o: $(HFILES)
geom2.o: $(HFILES)
global.o: $(HFILES)
......@@ -177,8 +178,8 @@ qhullx: qconvex.o qdelaun.o qhalf.o qvoronoi.o unix.o $(OBJS)
-chmod +x ../eg/q_test ../eg/q_eg ../eg/q_egtest
-cd ..; ./rbox D4 | ./qhull
rbox: rbox.o
$(CC) -o rbox rbox.o $(CCOPTS2) -lm
rbox: rbox.o libqhull.a
$(CC) -o rbox rbox.o -L. -lqhull $(CCOPTS2) -lm
cp rbox ..
user_eg: user_eg.o libqhull.a
......
......@@ -14,7 +14,7 @@
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "qhulllib.h"
#include "libqhull.h"
#include "mem.h"
#include "qset.h"
......
......@@ -15,7 +15,7 @@
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "qhulllib.h"
#include "libqhull.h"
#include "mem.h"
#include "qset.h"
......
......@@ -14,7 +14,7 @@
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "qhulllib.h"
#include "libqhull.h"
#include "mem.h"
#include "qset.h"
......
......@@ -15,7 +15,7 @@
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "qhulllib.h"
#include "libqhull.h"
#include "mem.h"
#include "qset.h"
......
......@@ -93,5 +93,5 @@ int main(int argc, char **argv) {
return_status= qh_ERRmem;
}
return return_status;
}//main
}/*main*/
......@@ -42,7 +42,7 @@
compiled by 'make user_eg'
see qhulllib.h for data structures, macros, and user-callable functions.
see libqhull.h for data structures, macros, and user-callable functions.
*/
#include "qhull_a.h"
......
......@@ -39,7 +39,7 @@
derived from unix.c and compiled by 'make user_eg2'
see qhulllib.h for data structures, macros, and user-callable functions.
see libqhull.h for data structures, macros, and user-callable functions.
If you want to control all output to stdio and input to stdin,
set the #if below to "1" and delete all lines that contain "io.c".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment