FreeCalypso > hg > freecalypso-tools
view rvinterf/old/g23sh/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 | e7502631a0f9 |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 -I../include PROG= g23sh OBJS= init.o main.o pktsort.o sendsp.o usercmd.o LIBS= ../libasync/libasync.a ../libg23/libg23.a INSTBIN=/usr/local/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}