summaryrefslogtreecommitdiff
path: root/Makefile
blob: be12f417950ddbfb23d7865af26c564592c87da5 (plain)
1
2
3
4
5
6
7
8
9
10
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)