Rev | Line | |
---|
[15] | 1 | LIBGLUDIR=../glu-2.3/ |
---|
| 2 | LIBVISDIR=../vis-2.3/ |
---|
| 3 | INCVISDIR=${LIBVISDIR}/include/ |
---|
| 4 | INCGLUDIR=${LIBGLUDIR}/include/ |
---|
[20] | 5 | LIB=-lvis2 -lcu -lglu -lm -lbsd -lreadline -lfl |
---|
[15] | 6 | |
---|
[20] | 7 | a.out : main.o utilities.o |
---|
| 8 | gcc -lm -L$(LIBGLUDIR) -L$(LIBVISDIR) main.o utilities.o $(LIB) |
---|
[15] | 9 | |
---|
[20] | 10 | main.o : main.c |
---|
| 11 | gcc -c main.c -I$(INCGLUDIR) -I$(INCVISDIR) |
---|
[15] | 12 | utilities.o : utilities.c |
---|
[20] | 13 | gcc -c utilities.c -I$(INCGLUDIR) -I$(INCVISDIR) |
---|
[15] | 14 | clean: |
---|
| 15 | rm *.o a.out |
---|
Note: See
TracBrowser
for help on using the repository browser.