1# Makefile for IBM CSet on OS/2 2 3CC= icc 4CFLAGS= -Sp1 -W2 -Q 5CDEFS= -DOS2 -DUSE_MSGAPI 6#COPT= -O 7MSGDIR= ..\smapi 8 9TARGET= msgedp.exe 10default: $(TARGET) 11MSGAPI= $(MSGDIR)\smapiibo.lib 12 13objs1= addr.obj \ 14 areas.obj \ 15 bmg.obj \ 16 charset.obj \ 17 config.obj \ 18 control.obj \ 19 date.obj \ 20 dialogs.obj \ 21 dirute.obj \ 22 dlgbox.obj \ 23 dlist.obj \ 24 echotoss.obj \ 25 environ.obj \ 26 fconf.obj \ 27 fecfg145.obj 28objs2= fido.obj \ 29 filedlg.obj \ 30 flags.obj \ 31 freq.obj \ 32 gestr120.obj \ 33 getopts.obj \ 34 group.obj \ 35 help.obj \ 36 helpcmp.obj \ 37 helpinfo.obj \ 38 init.obj \ 39 keycode.obj \ 40 list.obj \ 41 maintmsg.obj \ 42 makemsgn.obj 43objs3= malloc16.obj \ 44 memextra.obj \ 45 menu.obj \ 46 misc.obj \ 47 mnu.obj \ 48 msg.obj \ 49 msged.obj \ 50 mxbt.obj \ 51 normalc.obj \ 52 nshow.obj \ 53 os2scr.obj \ 54 quick.obj \ 55 quote.obj \ 56 readmail.obj \ 57 screen.obj \ 58 strextra.obj 59objs4= system.obj \ 60 template.obj \ 61 textfile.obj \ 62 timezone.obj \ 63 userlist.obj \ 64 vsev.obj \ 65 vsevops.obj \ 66 win.obj \ 67 wrap.obj 68 69# Thunderbirds are go! 70 71.c.obj: 72 $(CC) $(COPT) $(CFLAGS) $(CDEFS) /I$(MSGDIR) -c $< 73 74icc.cfg: makefile.ibo 75 echo $(COPT) /Fe$(TARGET) /B"/NOE" > icc.cfg 76 echo $(objs1) >> icc.cfg 77 echo $(objs2) >> icc.cfg 78 echo $(objs3) >> icc.cfg 79 echo $(objs4) >> icc.cfg 80 echo $(MSGAPI) >> icc.cfg 81 82 83$(TARGET): $(objs1) $(objs2) $(objs3) $(objs4) icc.cfg 84 icc @icc.cfg 85 86clean: 87 -DEL *.OBJ 88 -DEL *.BAK 89 -DEL *~ 90 91distclean: clean 92 -DEL $(TARGET) 93 94