INCLUDES = include
SOURCES = src
OUTPUT = main
CFLAGS=-g -o main -Wall -I$(INCLUDES)
CFILES := $(foreach dir,$(SOURCES),$(wildcard $(dir)/*.c))
all:
gcc main.c $(CFILES) $(CFLAGS)