GCC_ARGS = -std=c99 -pedantic-errors -Wall -Wstrict-prototypes OBJ = math.o input.o summe.o differenz.o math.out : $(OBJ) gcc $(GCC_ARGS) -o $@ $(OBJ) %.o : %.c gcc $(GCC_ARGS) -c $< math.o : summe.h differenz.h summe.o : input.h differenz.o : input.h clean: rm math.out $(OBJ)