CC=gcc CFLAG= -Wall -O3 all: knapsack knapsack: knapsack.c $(CC) $(CFLAG) -o knapsack knapsack.c -lm clean: rm -f *.o *~ core realclean: rm -f *.o *~ core a.out