2011-09-03 21:04:27 +00:00
|
|
|
CC=g++
|
|
|
|
|
2012-01-20 22:53:50 +00:00
|
|
|
CPPFLAGS= -g -I.. -I../../include -I../../src -I$(CPPUTEST_HOME)/include
|
2011-09-03 21:04:27 +00:00
|
|
|
LD_LIBRARIES = -L$(CPPUTEST_HOME)/lib -lCppUTest -lCppUTestExt
|
|
|
|
|
2012-01-20 22:53:50 +00:00
|
|
|
VPATH=../../src
|
2011-09-03 21:04:27 +00:00
|
|
|
|
2011-11-15 13:32:34 +00:00
|
|
|
OBJ = memory_pool.o remote_device_db_memory_test.o remote_device_db_memory.o btstack_memory.o linked_list.o
|
2011-08-25 18:24:36 +00:00
|
|
|
|
2011-09-03 21:04:27 +00:00
|
|
|
remote-memory: $(OBJ)
|
|
|
|
$(CC) $(CPPFLAGS) -o $@ $^ $(LD_LIBRARIES)
|
2011-08-25 18:24:36 +00:00
|
|
|
|
|
|
|
clean:
|
2011-09-12 21:19:15 +00:00
|
|
|
rm -f remote-memory *.o ../src/*.o
|
2011-08-25 18:24:36 +00:00
|
|
|
|