Changeset 20 for vis_dev/dev/Makefile


Ignore:
Timestamp:
Jul 19, 2011, 1:47:50 PM (13 years ago)
Author:
cecile
Message:

main modified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vis_dev/dev/Makefile

    r15 r20  
    33INCVISDIR=${LIBVISDIR}/include/
    44INCGLUDIR=${LIBGLUDIR}/include/
     5LIB=-lvis2 -lcu -lglu -lm -lbsd   -lreadline  -lfl
    56
    6 a.out : main.c utilities.o
    7         gcc main.c -lm -L$(LIBGLUDIR) -lglu -L$(LIBVISDIR) -lvis2  -I$(INCVISDIR) -I$(INCGLUDIR)
     7a.out : main.o utilities.o
     8        gcc  -lm -L$(LIBGLUDIR) -L$(LIBVISDIR) main.o utilities.o $(LIB)
    89
     10main.o : main.c
     11        gcc -c main.c -I$(INCGLUDIR) -I$(INCVISDIR)
    912utilities.o : utilities.c
    10         gcc -c utilities.c -lm -L$(LIBGLUDIR) -lglu -L$(LIBVISDIR) -lvis2  -I$(INCVISDIR) -I$(INCGLUDIR)
     13        gcc -c utilities.c -I$(INCGLUDIR) -I$(INCVISDIR)
    1114clean:
    1215        rm *.o a.out
Note: See TracChangeset for help on using the changeset viewer.