main -> marlene.

This commit is contained in:
Kelvin Sherlock 2018-05-10 17:19:57 -04:00
parent e82452f216
commit 246c8a8464
3 changed files with 14 additions and 9 deletions

View File

@ -1,5 +1,5 @@
PROG = marlene
OBJS = o/main.a o/vt100.a o/telnet.a o/ansi.a o/chars.a o/marinetti.a o/display.a
OBJS = o/vt100.a o/telnet.a o/ansi.a o/chars.a o/marinetti.a o/display.a
CC = occ --gno
@ -8,18 +8,21 @@ OPTIMIZE ?= 79
CFLAGS = -w-1 -O $(OPTIMIZE)
ASMFLAGS =
$(PROG): $(OBJS)
$(RM) o/ansi.root
$(RM) o/chars.root
marlene: o/marlene.a $(OBJS)
$(CC) $(OBJS) -o $@
darlene: o/darlene.a $(OBJS)
$(CC) $(OBJS) -o $@
main.o: main.c
marlene.o: marlene.c
darlene.o: darlene.c
vt100.o: vt100.c CLAGS+=-r
ansi.o: ansi.asm
chars.o: chars.asm
marinetti.o: marinetti.c CLAGS+=-r
telnet.o: telnet.c CLAGS+=-r
ansi.o: ansi.asm
chars.o: chars.asm
o :
mkdir o
@ -29,6 +32,7 @@ o/%.a : %.c | o
o/%.a : %.asm | o
$(CC) -c $(ASMFLAGS) -o $@ $^
$(RM) o/$*.root
clean:

View File

@ -1,5 +1,5 @@
PROG = marlene
OBJS = main.o vt100.o telnet.o ansi.o chars.o marinetti.o display.o
OBJS = marlene.o vt100.o telnet.o ansi.o chars.o marinetti.o display.o
OPTIMIZE *= 79
@ -11,7 +11,8 @@ $(PROG): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $@
main.o: main.c
marlene.o: marlene.c
darlene.o: darlene.c
vt100.o: vt100.c
ansi.o: ansi.asm
chars.o: chars.asm

View File