File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,16 @@ SRC = mqsmf.c \
39
39
HDR = mqsmfstruc.h \
40
40
mqsmf.h
41
41
42
- checkSize: mqsmfcsv.exe
42
+ default: mqsmfcsv.exe
43
+
44
+ all: sizeTest shipTest
45
+
46
+ sizeTest: mqsmfcsv.exe
43
47
./mqsmfcsv.exe -v > sizes.tmp
44
48
diff -b sizes.tmp sizes.master
45
49
50
+ shipTest: mqsmfcsv.exe
51
+ cd ../testing/shipTest;./shipTest.sh
46
52
47
53
mqsmfcsv.exe: $(SRC) $(HDR) Makefile.gcc.win dummy
48
54
-rm -f $@
@@ -57,5 +63,4 @@ convH.exe: convH.c
57
63
$(CC) $(CFLAGS) -o $@ convH.c
58
64
cp $@ ../bin/win
59
65
60
-
61
66
dummy:
Original file line number Diff line number Diff line change @@ -39,10 +39,18 @@ SRC = \
39
39
HDR = mqsmfstruc.h \
40
40
mqsmf.h
41
41
42
- checkSize: mqsmfcsv
42
+ default: mqsmfcsv
43
+
44
+ all: sizeTest shipTest
45
+ tests: all
46
+
47
+ sizeTest: mqsmfcsv
43
48
./mqsmfcsv -v > sizes.tmp
44
49
diff -b sizes.tmp sizes.master
45
50
51
+ shipTest: mqsmfcsv
52
+ cd ../testing/shipTest;./shipTest.sh
53
+
46
54
mqsmfcsv: $(SRC) $(HDR) Makefile.unix dummy
47
55
$(CC) $(PLATFLAGS) -o $@ $(SRC) $(CFLAGS) -DCSQDSMF_VERSION=$(VERS)
48
56
Original file line number Diff line number Diff line change 1
1
#include "stdio.h"
2
2
#include "stddef.h"
3
- #include "../src/ mqsmfstruc.h"
3
+ #include "mqsmfstruc.h"
4
4
5
5
void checkStructureSizes (FILE * fp ) {
6
6
You can’t perform that action at this time.
0 commit comments