echoc/Makefile
Matthieu Herrb c00525adaa Remove the use of Posix real-time functions.
The only reason to use clock_gettime() was to take a timestamp
in the signal handler. This is not needed anymoire, so improve
portability by sticking to gettimeofday() and setitimer().
2012-07-31 08:26:05 +02:00

19 lines
187 B
Makefile

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