From e9459382b0b96859bf88c10906754a7571b9d438 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Sun, 3 Sep 2017 21:13:33 -0700 Subject: use CPPFLAGS before CFLAGS this way, -Isrc/ is used *before* system-wide -I locations like /opt/local/include/ for instance. Change-Id: I83c97775aff87695720a0ff3fca5c3cf2bb62a09 --- makefile.unix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefile.unix') diff --git a/makefile.unix b/makefile.unix index 5e605ca5..85959c10 100644 --- a/makefile.unix +++ b/makefile.unix @@ -361,7 +361,7 @@ src/utils/bit_reader_utils.o: src/utils/endian_inl_utils.h src/utils/bit_writer_utils.o: src/utils/endian_inl_utils.h %.o: %.c $(HDRS) - $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ examples/libanim_util.a: $(ANIM_UTIL_OBJS) examples/libexample_util.a: $(EX_UTIL_OBJS) -- cgit v1.2.1