diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,11 @@ YAXX = bison CFLAGS = -Wall -Wextra -std=c11 -g -I. -D_GNU_SOURCE LDFLAGS = -lfl +ifeq ($(shell uname), Darwin) + LDFLAGS += -L/usr/local/opt/flex/lib + CFLAGS += -I/usr/local/opt/flex/include +endif + TARGET = ccomp .PHONY: all clean |