Also - move CPPFLAGS to Makefile - Use top_srcdir in lib/Makefile
Showing the changes to Makefile (1 of 3 files). Show all
Unified · Split
| @@ -6,6 +6,8 @@ TOP ?= . · 5 unmodified lines | ||
| 6 | 6 | include $(TOP)/config.mak |
| 7 | 7 | VPATH = $(top_srcdir) |
| 8 | 8 | |
| 9 | +CPPFLAGS = -I$(TOP) # for config.h | |
| 10 | + | |
| 9 | 11 | CPPFLAGS_P=$(CPPFLAGS) -DCONFIG_TCC_STATIC |
| 10 | 12 | CFLAGS_P=$(CFLAGS) -pg -static |
| 11 | 13 | LIBS_P= |