I've been wracking my brain trying to get precompiled headers to work when building an SGDK project but it doesn't seem to be making any difference in compilation time. My makefile-fu is pretty weak so I don't really know what I'm doing
Code: Select all
pre.h.gch : pre.h
$(CC) -c pre.h -o pre.h.gch $(FLAGS)
$(SRC_C) : pre.h.gch
$(SRC_C) : FLAGS += -include pre.h
Thanks!
djcc