summaryrefslogtreecommitdiff
path: root/lib/ftrsd/Makefile
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/ftrsd/Makefile
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/ftrsd/Makefile')
-rwxr-xr-xlib/ftrsd/Makefile106
1 files changed, 53 insertions, 53 deletions
diff --git a/lib/ftrsd/Makefile b/lib/ftrsd/Makefile
index 61b1357e..46486498 100755
--- a/lib/ftrsd/Makefile
+++ b/lib/ftrsd/Makefile
@@ -1,53 +1,53 @@
-# Makefile for Windows in JTSDK-PY environment
-
-# Re-direct stdout and stderr: cmd.exe bash
-# make > junk 2>&1 make &> junk
-
-CC = gcc
-FC = gfortran
-
-FFLAGS = -O2 -DWIN32 -fbounds-check -fno-second-underscore -Wall \
- -Wno-conversion -Wno-character-truncation
-CFLAGS = -I. -DWIN32 -DWin32 -DBIGSYM -DHAVE_STRUCT_TIMESPEC
-
-# 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: libftrsd.a
-
-OBJS1 = extract2.o ftrsd2.o init_rs_int.o encode_rs_int.o decode_rs_int.o
-libftrsd.a: $(OBJS1)
- ar cr libftrsd.a $(OBJS1)
- ranlib libftrsd.a
- cp libftrsd.a ..
-
-# Build rsdtest
-OBJS2 = rsdtest.o
-rsdtest: $(OBJS2) ../libjt.a
- $(FC) -o rsdtest $(OBJS2) libftrsd.a ../libjt.a ../libpthreadGC2.a
-
-ftrsd: ftrsd.o encode_rs_int.o decode_rs_int.o init_rs_int.o
- gcc -g -o $@ $^
-
-encode_rs_int.o: encode_rs.c
- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
-
-decode_rs_int.o: decode_rs.c
- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
-
-init_rs_int.o: init_rs.c
- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
-
-.PHONY : clean
-
-clean:
- rm -rf *.o libjt.a rsdtest ftrsd
+# Makefile for Windows in JTSDK-PY environment
+
+# Re-direct stdout and stderr: cmd.exe bash
+# make > junk 2>&1 make &> junk
+
+CC = gcc
+FC = gfortran
+
+FFLAGS = -O2 -DWIN32 -fbounds-check -fno-second-underscore -Wall \
+ -Wno-conversion -Wno-character-truncation
+CFLAGS = -I. -DWIN32 -DWin32 -DBIGSYM -DHAVE_STRUCT_TIMESPEC
+
+# 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: libftrsd.a
+
+OBJS1 = extract2.o ftrsd2.o init_rs_int.o encode_rs_int.o decode_rs_int.o
+libftrsd.a: $(OBJS1)
+ ar cr libftrsd.a $(OBJS1)
+ ranlib libftrsd.a
+ cp libftrsd.a ..
+
+# Build rsdtest
+OBJS2 = rsdtest.o
+rsdtest: $(OBJS2) ../libjt.a
+ $(FC) -o rsdtest $(OBJS2) libftrsd.a ../libjt.a ../libpthreadGC2.a
+
+ftrsd: ftrsd.o encode_rs_int.o decode_rs_int.o init_rs_int.o
+ gcc -g -o $@ $^
+
+encode_rs_int.o: encode_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+decode_rs_int.o: decode_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+init_rs_int.o: init_rs.c
+ gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^
+
+.PHONY : clean
+
+clean:
+ rm -rf *.o libjt.a rsdtest ftrsd