# Makefile for simple ciphers CC = gcc CFLAGS = -Wall -O0 LFLAGS = -O0 LIBS = -lm all: floating-point-double floating-point macheps integer-representation floating-point-double: floating-point-double.o printbits.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) floating-point: floating-point.o printbits.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) macheps: macheps.o printbits.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) integer-representation: integer-representation.o printbits.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) clean: rm -f *.o veryclean: rm -f *.o floating-point-double floating-point macheps integer-representation