nihonium
/
mipt_clang
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
386 B
Makefile

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
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
clean:
rm -f $(EXECS)