Makefile
579 Bytes
#!smake
#
# Makefile for apps intended to run on unix, related to simos
#
#
CCOM = /usr/bin/cc -xansi
DEFS =
OPTS = -O2 -g3
#OPTS = -g
LOPTS = -fullwarn -wlint,-uiv -woff 826,827,852
INCS = -I../../simos -I../../cpus/shared/ -I../../devices/disk/
.c.o:
$(CCOM) $(DEFS) $(OPTS) $(LOPTS) $(INCS) -c $<
all: sconsole cpuallocd vh
sconsole: sconsole.o
$(CCOM) $(OPTS) -o sconsole sconsole.o
cpuallocd: cpuallocd.o
$(CCOM) $(OPTS) -o cpuallocd cpuallocd.o
vh: vh.o
$(CCOM) $(OPTS) -o vh vh.o
mkrdisk: mkrdisk.o
$(CCOM) $(OPTS) -o mkrdisk mkrdisk.o
clean:
rm *.o