Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > d92aa75c2d384ff9f513aed09a46f703 > files > 560

parrot-doc-3.1.0-2.mga1.i586.rpm

# Copyright (C) 2009, Parrot Foundation.
#
# Microsoft Visual C++ Makefile
# To build this example in a parrot development environment:

# adjust PARROT_PREFIX below
# nmake -f Makefile.msvc

PARROT_PREFIX = c:\usr\src\perl\parrot\parrot-msvc6
# c:\parrot
CC 	= cl
CCFLAGS = -nologo -GF -W4 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -Zm400
LD 	= link -nologo
INCLUDEDIR = $(PARROT_PREFIX)\include
LDFLAGS = $(PARROT_PREFIX)\libparrot.lib
O 	= .obj
EXE 	= .exe

all: cotorra$(EXE)

#-----------------------------------------------------------------------

cotorra$(O): cotorra.c
	$(CC) $(CCFLAGS) -c -I $(INCLUDEDIR) cotorra.c

cotorra$(EXE): cotorra$(O)
	$(LD) -out:cotorra$(EXE) cotorra$(O) $(LDFLAGS)

#-----------------------------------------------------------------------

clean:
	rm -f cotorra$(EXE) cotorra$(O)