echoc/Makefile
Matthieu Herrb ca410bd75a Rewrite the main loop to use a timer.
XXX not finished yet, lots of debug information and bugs left.
2012-07-30 20:49:29 +02:00

16 lines
161 B
Makefile

#
PROG= echoc
SRCS= echoc.c
OBJS= $(SRCS:%.c=%.o)
LIBS= -lrt
all: $(PROG)
$(PROG): $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<