Adding tty thread primitive which only reports alive status every 10 seconds.
This commit is contained in:
parent
be121ac22f
commit
3926b7738d
4 changed files with 37 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue