make a .a file
This commit is contained in:
parent
db7091d5c4
commit
c2648077f2
@ -28,17 +28,30 @@ trials.o: trials.f90 Makefile
|
|||||||
mathstuff2.o: mathstuff2.f90 Makefile
|
mathstuff2.o: mathstuff2.f90 Makefile
|
||||||
gfortran $(GFOPT) -c $<
|
gfortran $(GFOPT) -c $<
|
||||||
|
|
||||||
|
noisepictures.o: noisepictures.f90 Makefile
|
||||||
|
gfortran $(GFOPT) -c $<
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# making a fluffy archive
|
||||||
|
#
|
||||||
|
OBJECTS = spitpgm.o pixrgb.o \
|
||||||
|
centermag.o dummy.o \
|
||||||
|
trials.o mathstuff2.o \
|
||||||
|
noisepictures.o
|
||||||
|
|
||||||
|
libtth90modules.a: $(OBJECTS) Makefile
|
||||||
|
$(AR) rs $@ $?
|
||||||
|
|
||||||
#
|
#
|
||||||
# programmes de testouille
|
# programmes de testouille
|
||||||
#
|
#
|
||||||
OBJS = trials.o spitpgm.o pixrgb.o centermag.o dummy.o \
|
|
||||||
mathstuff2.o
|
|
||||||
|
|
||||||
chkpixels: chkpixels.f90 Makefile $(OBJS)
|
chkpixels: chkpixels.f90 Makefile libtth90modules.a
|
||||||
gfortran $(GFOPT) $< $(OBJS) -o $@
|
gfortran $(GFOPT) $< libtth90modules.a -o $@
|
||||||
|
|
||||||
t: t.f90 Makefile $(OBJS)
|
t: t.f90 Makefile libtth90modules.a
|
||||||
gfortran $(GFOPT) $< $(OBJS) -o $@
|
gfortran $(GFOPT) $< libtth90modules.a -o $@
|
||||||
|
|
||||||
trnd: trnd.f90 Makefile $(OBJS)
|
trnd: trnd.f90 Makefile libtth90modules.a
|
||||||
gfortran $(GFOPT) $< $(OBJS) -o $@
|
gfortran $(GFOPT) $< libtth90modules.a -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user