diff options
Diffstat (limited to 'mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile')
-rw-r--r-- | mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile b/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile deleted file mode 100644 index 693150fb7..000000000 --- a/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -CFLAGS = -g -Wall -Werror -Os -TESTPROTOCOL = common -ALLPROTOCOLS = minimal test common pixhawk ardupilotmega slugs ualberta - -all: - for p in ${ALLPROTOCOLS}; do make -f Makefile build TESTPROTOCOL=$$p; done - -test: - for p in ${ALLPROTOCOLS}; do make -f Makefile testprogs TESTPROTOCOL=$$p || exit 1; done - -valgrindtest: - for p in ${ALLPROTOCOLS}; do make -f Makefile valgrindprogs TESTPROTOCOL=$$p || exit 1; done - -build: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - -testprogs: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - ./testmav0.9_${TESTPROTOCOL} - ./testmav1.0_${TESTPROTOCOL} - -valgrindprogs: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - valgrind -q ./testmav0.9_${TESTPROTOCOL} - valgrind -q ./testmav1.0_${TESTPROTOCOL} - -clean: - rm -rf *.o *~ testmav1.0* testmav0.9* - -testmav1.0_${TESTPROTOCOL}: testmav.c - $(CC) $(CFLAGS) -I../../include_v1.0 -I../../include_v1.0/${TESTPROTOCOL} -o $@ testmav.c - -testmav0.9_${TESTPROTOCOL}: testmav.c - $(CC) $(CFLAGS) -I../../include_v0.9 -I../../include_v0.9/${TESTPROTOCOL} -o $@ testmav.c |