marlene/makefile

24 lines
415 B
Makefile
Raw Normal View History

2013-08-22 00:09:18 +00:00
PROG = fctelnet
OBJS = fctelnet.o vt100.o ansi.o chars.o marinetti.o display.o
2013-08-21 02:10:47 +00:00
OPTIMIZE *= 79
CFLAGS = -w -O$(OPTIMIZE)
$(PROG): $(OBJS)
$(RM) ansi.root
$(RM) chars.root
$(CC) $(CFLAGS) $(OBJS) -o $@
2013-08-22 00:09:18 +00:00
fctelnet.o: fctelnet.c marinetti.h
2013-08-21 02:10:47 +00:00
vt100.o: vt100.c
ansi.o: ansi.asm
chars.o: chars.asm
marinetti.o: marinetti.c
clean:
$(RM) -f *.o *.root *.a *.r
clobber: clean
$(RM) -f $(PROG)