home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
controls
/
ctors
/
makefile
< prev
Wrap
Makefile
|
1996-10-29
|
464b
|
23 lines
## Controls - Constructor and Color Sample
CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
LFLAGS = /PM:PM
!ifdef IC_PM
ODIR=.\os2
!else
ODIR=.\win
!endif
ALL : CREATEDIR $(ODIR)\ctors.exe
$(ODIR)\ctors.exe : $(ODIR)\ctors.obj
icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\ctors.exe $(ODIR)\ctors.obj
$(ODIR)\ctors.obj: ctors.cpp
icc $(CFLAGS) /C+ /Fo$(ODIR)\ctors.obj ctors.cpp
CREATEDIR:
@if not exist $(ODIR)* md $(ODIR)