changeset 470:1d5bd9a06781

rvinterf tree Makefiles: split CPPFLAGS from CFLAGS This change is in preparation for allowing CFLAGS to be overridden by users and package builders.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Feb 2019 00:00:18 +0000
parents fd4af8023ce6
children 8f3fe2d1fda5
files rvinterf/asyncshell/Makefile rvinterf/etmsync/Makefile rvinterf/libasync/Makefile rvinterf/libinterf/Makefile rvinterf/rvtat/Makefile rvinterf/tmsh/Makefile
diffstat 6 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rvinterf/asyncshell/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/asyncshell/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 PROG=	fc-shell
 OBJS=	at.o help.o init.o keypress.o main.o oneshot.o parse.o pktsort.o \
 	poweroff.o rxctl.o sendarb.o sendsp.o tchcmd.o tchplay.o tchrec.o \
--- a/rvinterf/etmsync/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/etmsync/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 PROGS=	fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync
 INSTBIN=/opt/freecalypso/bin
 INSTHELP=/opt/freecalypso/helpfiles
--- a/rvinterf/libasync/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/libasync/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 OBJS=	init.o interf.o rvtrace.o ttymagic.o
 LIB=	libasync.a
 
--- a/rvinterf/libinterf/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/libinterf/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 OBJS=	connect.o launchrvif.o
 LIB=	libinterf.a
 
--- a/rvinterf/rvtat/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/rvtat/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 PROG=	fcup-rvtat
 OBJS=	interf.o main.o
 LIBS=	../libinterf/libinterf.a
--- a/rvinterf/tmsh/Makefile	Mon Feb 11 22:51:17 2019 +0000
+++ b/rvinterf/tmsh/Makefile	Tue Feb 12 00:00:18 2019 +0000
@@ -1,5 +1,6 @@
 CC=	gcc
-CFLAGS=	-O2 -I../include
+CFLAGS=	-O2
+CPPFLAGS=-I../include
 PROG=	fc-tmsh
 OBJS=	abb.o abbtm3.o audiocmd.o audioresp.o etmbasic.o ffs2.o ffs2resp.o \
 	init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o oneshot.o pktsort.o \