CC ?= gcc
TARGET := arielo_sysinfo_32
SRC := arielo_sysinfo.c
CFLAGS += $(shell sdl2-config --cflags) -O2 -std=c11 -Wall -Wextra -Wpedantic
LDLIBS += $(shell sdl2-config --libs)

all: $(TARGET)

$(TARGET): $(SRC)
	$(CC) $(CFLAGS) $(SRC) -o $(TARGET) $(LDFLAGS) $(LDLIBS)

clean:
	rm -f $(TARGET)

.PHONY: all clean
