Rewrite the main loop to use a timer.
XXX not finished yet, lots of debug information and bugs left.
This commit is contained in:
parent
13437c1076
commit
ca410bd75a
2 changed files with 129 additions and 33 deletions
4
Makefile
4
Makefile
|
@ -5,10 +5,12 @@ SRCS= echoc.c
|
|||
|
||||
OBJS= $(SRCS:%.c=%.o)
|
||||
|
||||
LIBS= -lrt
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(CC) -o $@ $(OBJS)
|
||||
$(CC) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue