home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power GUI Programming with VisualAge C++
/
powergui.iso
/
powergui
/
menus
/
sysmenu
/
makefile
next >
Wrap
Makefile
|
1996-10-29
|
477b
|
23 lines
## Menus - Accessing the System Menu
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)\sysmenu.exe
$(ODIR)\sysmenu.exe : $(ODIR)\sysmenu.obj
icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\sysmenu.exe $(ODIR)\sysmenu.obj
$(ODIR)\sysmenu.obj : sysmenu.cpp
icc $(CFLAGS) /C+ /Fo$(ODIR)\sysmenu.obj sysmenu.cpp
CREATEDIR:
@if not exist $(ODIR)* md $(ODIR)