From c14c190414c1336643cd7d0c29f0626ccc7dea6d Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 5 Mar 2014 15:11:03 +0100 Subject: Clean the code and avoid fix some crashes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2a405f9..fa5f19a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ CC = gcc CFLAGS = -Wall -W -std=c99 -g -god_hands_solver: main.o +god_hands_solver: god_hands.o $(CC) -o $@ $^ $(LDFLAGS) -main.o: main.c +god_hands.o: god_hands.c $(CC) -o $@ -c $< $(CFLAGS) -- cgit v1.2.3