# Makefile for simple ciphers CC = gcc CFLAGS = -Wall -O0 LFLAGS = -O0 LIBS = -lm all: fib int-overflow fib-fixed integer-representation fib-fixed: fib-fixed.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) fib: fib.o ${CC} $(LFLAGS) -o $@ $^ $(LIBS) int-overflow: int-overflow.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 fib int-overflow fib-fixed integer-representation