comparison calypso/Makefile @ 6:0a21a7ffe144

calypso: caltest front end put together
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 05:26:58 +0000
parents f6b03af63bf7
children
comparison
equal deleted inserted replaced
5:f6b03af63bf7 6:0a21a7ffe144
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fcsim-calypso-be 3 PROGS= fcsim-calypso-be caltest
4 4
5 INSTALL_PREFIX= /opt/freecalypso 5 INSTALL_PREFIX= /opt/freecalypso
6 6
7 INSTBIN=${INSTALL_PREFIX}/bin 7 INSTBIN=${INSTALL_PREFIX}/bin
8 8
11 all: ${PROGS} 11 all: ${PROGS}
12 12
13 fcsim-calypso-be: ${MAIN_OBJS} 13 fcsim-calypso-be: ${MAIN_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS} 14 ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS}
15 15
16 caltest: caltest.c
17 ${CC} ${CFLAGS} -o $@ $@.c
18
16 install: 19 install:
17 mkdir -p ${INSTBIN} 20 mkdir -p ${INSTBIN}
18 install -c fcsim-calypso-be ${INSTBIN} 21 install -c fcsim-calypso-be ${INSTBIN}
19 22
20 clean: 23 clean: