home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
327_01
/
makefile
< prev
next >
Wrap
Makefile
|
1991-11-13
|
3KB
|
111 lines
####
#### Panels for C makefile - OS/2 and DOS
#### Large Memory Model - Microsoft C 6.0
#### 10/09/91 jjb
####
#debug = -Zi -Od
def = panel.def
los2pan = .\obj\lpanelp.obj
ldospan = .\obj\lpanelr.obj
sos2pan = .\obj\spanelp.obj
sdospan = .\obj\spanelr.obj
lflags = /co /noe /ST:8192 /SE:512 /NOD
compile = cl -c -AL $(debug) -Fo$@ %|pfeF
os2link = link %|pfeF+$(los2pan), $@, NUL, $(lflags) llibcep+os2, $(def);
doslink = link %|pfeF+$(ldospan), $@, NUL, $(lflags) llibcer;
ALL: .\binr\showpan.exe .\binp\showpan.exe \
.\binr\colors.exe .\binp\colors.exe \
.\binr\attr.exe .\binp\attr.exe \
.\binr\sound.exe .\binp\sound.exe \
.\binr\showtime.exe .\binp\showtime.exe \
.\binr\difftime.exe .\binp\difftime.exe \
.\binr\help.exe .\binp\help.exe \
.\binr\pan2h.exe .\binp\pan2h.exe \
.\binr\ipd.exe .\binp\ipd.exe \
$(sdospan) $(sos2pan)
.\binr\showpan.exe: .\obj\showpan.obj $(ldospan)
$(doslink)
.\binp\showpan.exe: .\obj\showpan.obj $(los2pan)
$(os2link)
.\obj\showpan.obj: showpan.c panel.h keys.h
$(compile)
.\binr\colors.exe: .\obj\colors.obj $(ldospan)
$(doslink)
.\binp\colors.exe: .\obj\colors.obj $(los2pan)
$(os2link)
.\obj\colors.obj: colors.c panel.h keys.h
$(compile)
.\binr\attr.exe: .\obj\attr.obj $(ldospan)
$(doslink)
.\binp\attr.exe: .\obj\attr.obj $(los2pan)
$(os2link)
.\obj\attr.obj: attr.c panel.h keys.h
$(compile)
.\binr\sound.exe: .\obj\sound.obj $(ldospan)
$(doslink)
.\binp\sound.exe: .\obj\sound.obj $(los2pan)
$(os2link)
.\obj\sound.obj: sound.c panel.h keys.h
$(compile)
.\binr\showtime.exe: .\obj\showtime.obj $(ldospan)
$(doslink)
.\binp\showtime.exe: .\obj\showtime.obj $(los2pan)
$(os2link)
.\obj\showtime.obj: showtime.c panel.h keys.h
$(compile)
.\binr\difftime.exe: .\obj\difftime.obj $(ldospan)
$(doslink)
.\binp\difftime.exe: .\obj\difftime.obj $(los2pan)
$(os2link)
.\obj\difftime.obj: difftime.c panel.h keys.h
$(compile)
.\binr\help.exe: .\obj\help.obj $(ldospan)
$(doslink)
.\binp\help.exe: .\obj\help.obj $(los2pan)
$(os2link)
.\obj\help.obj: help.c panel.h keys.h
$(compile)
.\binr\pan2h.exe: .\obj\pan2h.obj
link %|pfeF, $@, NUL, $(lflags) llibcer;
.\binp\pan2h.exe: .\obj\pan2h.obj
link %|pfeF, $@, NUL, $(lflags) llibcep+os2, $(def);
.\obj\pan2h.obj: pan2h.c
$(compile)
.\binr\ipd.exe: .\obj\ipdr.obj
link %|pfeF, $@, NUL, $(lflags) llibcer;
.\binp\ipd.exe: .\obj\ipdp.obj
link %|pfeF, $@, NUL, $(lflags) llibcep+os2, $(def);
.\obj\ipdr.obj: ipd.c panel.c keys.h ipd.h
cl -c -AL $(debug) -Fo$@ ipd.c
.\obj\ipdp.obj: ipd.c panel.c keys.h ipd.h
cl -c -AL $(debug) -DOS2 -Fo$@ ipd.c
$(ldospan): panel.c keys.h
cl -c -AL $(debug) -Fo$@ panel.c
$(los2pan): panel.c keys.h
cl -c -AL $(debug) -DOS2 -Fo$@ panel.c
$(sdospan): panel.c keys.h
cl -c -AS $(debug) -Fo$@ panel.c
$(sos2pan): panel.c keys.h
cl -c -AS $(debug) -DOS2 -Fo$@ panel.c