home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cell06d.zip
/
samples
/
makefile
< prev
next >
Wrap
Makefile
|
1999-02-07
|
837b
|
44 lines
#
# Cell Library samples makefile
#
#--------------------
CC=icc
CFLAGS=-O+ -Ss+ -Gs+ -G5 -I../libcell
LDFLAGS= $(CFLAGS) -B/ST:327680 -B/NOE -B/PMTYPE:PM
RC=rc -i .
#--------------------
LIBOBJ=..\libcell\cell.obj
#--------------------
.SUFFIXES:
.SUFFIXES: .obj .c .rc
{.}.c.obj:
$(CC) $(CFLAGS) -c $<
{.}.rc.res:
$(RC) -r $<
{.}.c.exe:
$(CC) $(LDFLAGS) $< cell.obj
$(RC) $*.res $*.exe
#--------------------
# Samples to build
all: entry.exe multibar.exe nbsample.exe simple.exe status.exe
entry.exe : $(LIBOBJ) entry.obj entry.res
multibar.exe: $(LIBOBJ) multibar.obj multibar.res
nbsample.exe: $(LIBOBJ) nbsample.obj nbsample.res
simple.exe : $(LIBOBJ) simple.obj simple.res
status.exe : $(LIBOBJ) status.obj status.res
cell.obj : ..\libcell\cell.c