CC=gcc CFLAGS=-Wall -lm -Wall -Werror=sign-compare -Werror=array-bounds -Werror=maybe-uninitialized -Werror=unused-parameter -Werror=maybe-uninitialized -Werror=cast-qual EXECS=knight queens rabin_karp build_knight: knight.c $(CC) $(CFLAGS) knight.c -o knight knight_run: knight ./knight build_queens: queens.c $(CC) $(CFLAGS) queens.c -o queens queens_run: queens ./queens build_rabin_karp: rabin_karp.c $(CC) $(CFLAGS) rabin_karp.c -o rabin_karp rabin_karp_run: rabin_karp ./rabin_karp clean: rm -f $(EXECS)