diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/qra/qra64/Makefile.Win | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/qra/qra64/Makefile.Win')
| -rw-r--r-- | lib/qra/qra64/Makefile.Win | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/qra/qra64/Makefile.Win b/lib/qra/qra64/Makefile.Win new file mode 100644 index 00000000..7bd10c2d --- /dev/null +++ b/lib/qra/qra64/Makefile.Win @@ -0,0 +1,30 @@ +FC = gfortran +CC = gcc +CFLAGS = -O2 -Wall -I. -D_WIN32 + +# Default rules +%.o: %.c + ${CC} ${CFLAGS} -c $< +%.o: %.f + ${FC} ${FFLAGS} -c $< +%.o: %.F + ${FC} ${FFLAGS} -c $< +%.o: %.f90 + ${FC} ${FFLAGS} -c $< +%.o: %.F90 + ${FC} ${FFLAGS} -c $< + +all: qra64.exe + +OBJS1 = main.o qra64.o +qra64.exe: $(OBJS1) + ${CC} -o qra64.exe $(OBJS1) ../qracodes/libqra64.a -lm + +OBJS2 = qra64sim.o options.o wavhdr.o +qra64sim.exe: $(OBJS2) + ${FC} -o qra64sim.exe $(OBJS2) ../qracodes/libqra64.a -lm + +.PHONY : clean + +clean: + $(RM) *.o qra64.exe qra64sim.exe |
