home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
gbmos2pm.zip
/
gbmdlg
/
makefile
< prev
Wrap
Makefile
|
1999-03-21
|
1KB
|
56 lines
#
# GBM enhanced file dialog
#
# OS/2
# IBM VisualAge C++, with CTC306, CTD302 and CTU304
#
# Builds GBMDLG.DLL which is compiled multithreaded
# Therefore all users should also be multithreaded
#
GBM = \build\os2\graphics\gbm
CWARNS = /W3 /Wcnd+cns+ord+par+pro+rea+ret+use+
CFLAGS = /C+ /I$(GBM) /DOS2 /G4 /Gd-e-m+ $(CWARNS) /O+ /Os- /Q+
LFLAGS = /NOI /ALIGN:4 /NOLOGO
.SUFFIXES: .c .obj
.c.obj:
icc $(CFLAGS) $*.c
#
all: gbmdlg.dll gbmdlg.lib gbmdlg.hlp
#
gbmdlg.dll: gbmdlg.obj $(GBM)\gbm.lib gbmdlg.def gbmdlg.res
ilink $(LFLAGS) /OUT:$@ gbmdlg.obj $(GBM)\gbm.lib gbmdlg.def
rc -n gbmdlg.res gbmdlg.dll
gbmdlg.lib: gbmdlg.def
implib /NOI /NOLOGO $@ $**
gbmdlg.obj: gbmdlg.c gbmdlg.h gbmdlgrc.h $(GBM)\gbm.h
gbmdlg.res: gbmdlg.rc gbmdlgrc.h
rc -n -r gbmdlg.rc
gbmdlg.hlp: gbmdlg.scr gbmdlgrc.h
ipfcprep gbmdlg.scr gbmdlg.ipf
ipfc gbmdlg.ipf /country=044 /codepage=437 /language=ENG /X /W3
#
clean:
-del *.obj *.res *.ipf 2> nul
#
IDIR = d:\gbm
install:
copy *.dll $(IDIR)
copy *.hlp $(IDIR)