[libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
diff --git a/scripts/makefile.ne12bsd b/scripts/makefile.ne12bsd
index 3b97223..95921db 100644
--- a/scripts/makefile.ne12bsd
+++ b/scripts/makefile.ne12bsd
@@ -34,6 +34,9 @@
 
 CLEANFILES+=pngtest.o pngtest pnglibconf.h
 
+.c.o:
+	$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
+
 # see scripts/pnglibconf.mak for more options
 pnglibconf.h: scripts/pnglibconf.h.prebuilt
 	cp scripts/pnglibconf.h.prebuilt $@