2017-05-15 13:21:56 +00:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
RM = rm
|
|
|
|
CFLAGS = -I. -Wall -g -O0 -I../src
|
|
|
|
LFLAGS_LIB = ../src/libmachinarium.a -pthread -lssl -lcrypto
|
|
|
|
LFLAGS = $(LFLAGS_LIB)
|
|
|
|
OBJECTS = machinarium_test.o \
|
2017-05-15 13:41:31 +00:00
|
|
|
test_init.o \
|
|
|
|
test_create.o \
|
|
|
|
test_sleep.o \
|
|
|
|
test_sleep_yield.o \
|
|
|
|
test_sleep_cancel0.o \
|
2017-05-15 13:48:28 +00:00
|
|
|
test_sleep_cancel1.o \
|
2017-05-15 13:55:10 +00:00
|
|
|
test_wait.o \
|
|
|
|
test_condition0.o \
|
2017-05-15 14:10:58 +00:00
|
|
|
test_condition1.o \
|
|
|
|
test_io_new.o \
|
|
|
|
test_connect.o
|
|
|
|
|
2017-05-15 13:21:56 +00:00
|
|
|
all: clean $(OBJECTS) machinarium_test
|
|
|
|
machinarium_test:
|
|
|
|
$(CC) $(OBJECTS) $(LFLAGS) -o machinarium_test
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
|
|
$(RM) -f $(OBJECTS) machinarium_test
|