FreeCalypso > hg > freecalypso-tools
view rvinterf/rvtat/Makefile @ 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 | ab8fb95a28da |
children | 90d7c360a614 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 CPPFLAGS=-I../include PROG= fcup-rvtat OBJS= interf.o main.o LIBS= ../libinterf/libinterf.a INSTBIN=/opt/freecalypso/bin all: ${PROG} ${PROG}: ${OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} install: ${PROG} mkdir -p ${INSTBIN} install -c ${PROG} ${INSTBIN} clean: rm -f *.o *.out *errs ${PROG}