--- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -CC = gcc -CFLAGS = -O2 VERSION = 1.0.8 TARGET = ttyrec ttyplay ttytime @@ -9,14 +7,11 @@ all: $(TARGET) -ttyrec: ttyrec.o io.o - $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o +ttyrec: io.o -ttyplay: ttyplay.o io.o - $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o +ttyplay: io.o -ttytime: ttytime.o io.o - $(CC) $(CFLAGS) -o ttytime ttytime.o io.o +ttytime: io.o clean: rm -f *.o $(TARGET) ttyrecord *~