TARGET = pongo_kext_loader

DEBUG ?= 0

CFLAGS = -O2 -Wall -Werror

ifneq ($(DEBUG),0)
CFLAGS += -DDEBUG=$(DEBUG)
endif

SOURCES = source/pongo_kext_loader.c

HEADERS =

FRAMEWORKS = -framework IOKit -framework CoreFoundation

$(TARGET): $(SOURCES) $(HEADERS)
	$(CC) $(CFLAGS) $(DEFINES) $(LDFLAGS) $(FRAMEWORKS) -o $@ $(SOURCES)

clean:
	rm -f -- $(TARGET)
