Adding tty thread primitive which only reports alive status every 10 seconds.

This commit is contained in:
Luka Miljak 2014-03-14 17:28:29 +01:00
parent be121ac22f
commit 3926b7738d
4 changed files with 37 additions and 7 deletions

View file

@ -7,11 +7,11 @@ INCDIRS = -I.
LIBDIRS = -L
# used libraries
#LIBS = -lm
LIBS = -l
LIBS = -lpthread
# compiler and flags
CC = gcc
CFLAGS = -Wall $(INCDIRS) $(LIBDIRS)
CFLAGS = -Wall $(INCDIRS) $(LIBDIRS) $(LIBS)
# objects are .o files created from all .c files in the directory (same name)
OBJECTS = $(patsubst %.c,%.o,$(wildcard *.c))