Project

General

Profile

Revision 959

Changed receive to work when there's no data,
haven't tested for when there is,
test.c works as expected,
Makefile modified to work on receive.c on a linux machine with matlab.
testing robots pending - not hopeful - see code.

View differences:

Makefile
1
CC= gcc
2
CFLAGS= -Wall -g
1
CC= mex
2
CFLAGS=
3 3
LIBS= -lpthread -lwireless
4 4

  
5
all: test
5
all: receive
6 6

  
7 7
test: *.c ../../libwireless/lib/*.c 
8
	$(CC) $(CFLAGS) *.c -L../../../lib/bin -o test -DWL_DEBUG $(LIBS)
8
	$(CC) $(CFLAGS) *.c -L../../../lib/bin -DWL_DEBUG $(LIBS)
9 9

  
10
receive:
11
	 mex -g receive.c -L../../libwireless/lib -lwireless
12

  
10 13
clean:
11
	rm *.o test ../lib/*.o
14
	rm *.o 
12 15

  

Also available in: Unified diff