FreeCalypso > hg > freecalypso-tools
view ffstools/tiffs-wrappers/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 | a4afdada80fc |
children | 90d7c360a614 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= mokoffs pirffs INSTBIN=/opt/freecalypso/bin MOKOFFS_OBJS= installpath.o mokoffs.o PIRFFS_OBJS= installpath.o pirffs.o all: ${PROGS} mokoffs: ${MOKOFFS_OBJS} ${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS} pirffs: ${PIRFFS_OBJS} ${CC} ${CFLAGS} -o $@ ${PIRFFS_OBJS} install: ${PROGS} mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o *.out *errs ${PROGS}