home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
sampl254.zip
/
gcc2
/
samples
/
sample4
/
makefile
next >
Wrap
Makefile
|
1993-10-31
|
387b
|
19 lines
#
# This is a sample of Objective C programming.
#
# It is *not* a good example, since this is my first attempt
# at writing ObjC :-)
#
%.obj: %.m
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
OBJ = printable.obj message.obj sample4.obj
sample4.exe: $(OBJ)
gcc -o sample4.exe $(OBJ) -lobjc
sample4.obj: printable.h message.h
printable.obj: printable.h
message.obj: message.h