From d3dab8d06646727e94e85e1919812b68dd23cf04 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 16 Aug 2017 15:11:56 -0400 Subject: Initial commit --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..be12f41 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +CC=gcc +CFLAGS=`pkg-config --libs --cflags sdl2 SDL2_ttf gtk+-3.0` -lm -lpthread -Wall -Wno-switch -Wno-parentheses +OUTPUT=bin/GENETIC + +default: all + +all: src/main.c + $(CC) src/main.c $(CFLAGS) -o $(OUTPUT) + +run: all + ./$(OUTPUT) -- cgit v1.2.3