diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e63a53 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC = gcc +CFLAGS = -Wall -W -Wextra -std=c99 -g +NAME = solver + +$(NAME): .solver.o .main.o + $(CC) -o $@ $^ $(LDFLAGS) + +.solver.o: solver.c solver.h + $(CC) -o $@ -c $< $(CFLAGS) + +.main.o: main.c solver.h + $(CC) -o $@ -c $< $(CFLAGS) + |