marlene/makefile

26 lines
417 B
Makefile
Raw Normal View History

2018-04-21 19:40:50 +00:00
PROG = marlene
OBJS = main.o vt100.o telnet.o ansi.o chars.o marinetti.o display.o
2018-04-21 19:30:26 +00:00
OPTIMIZE *= 79
CFLAGS = -w -O$(OPTIMIZE)
$(PROG): $(OBJS)
$(RM) ansi.root
$(RM) chars.root
$(CC) $(CFLAGS) $(OBJS) -o $@
2018-04-21 19:40:50 +00:00
main.o: main.c
2018-04-21 19:30:26 +00:00
vt100.o: vt100.c
ansi.o: ansi.asm
chars.o: chars.asm
marinetti.o: marinetti.c
telnet.o: telnet.c
2018-04-21 19:40:50 +00:00
display.o: display.c
2018-04-21 19:30:26 +00:00
clean:
$(RM) -f *.o *.root *.a *.r
clobber: clean
$(RM) -f $(PROG)