Get compiling with Vorland C++ for Windows
[fw/sdcc] / support / cpp / Makefile.bcc
1 # Generated automatically from Makefile.in by configure.
2 #
3 #
4 #
5
6 VERSION         = 2.2.0
7 VERSIONHI       = 2
8 VERSIONLO       = 2
9 VERSIONP        = 0
10
11 PRJDIR          = ../..
12
13 srcdir          = .
14 prefix          = /cygnus/cygwin-b20/kvigor/
15 exec_prefix     = ${prefix}
16 bindir          = ${exec_prefix}/bin
17 libdir          = ${exec_prefix}/lib
18 datadir         = ${prefix}/share
19 includedir      = ${prefix}/include
20 mandir          = ${prefix}/man
21 man1dir         = $(mandir)/man1
22 man2dir         = $(mandir)/man2
23 infodir         = ${prefix}/info
24
25 STD_INC         = @sdcc_include_dir@
26 #CPPFLAGS        =  -I. -I$(PRJDIR) -D_FORASXXXX_
27 #CFLAGS          = -ggdb -O2 -pipe
28 CFLAGS  = -6 -O -g0 -I. -I$(PRJDIR) -D_FORASXXXX_
29 M_OR_MM         = -MM
30 LDFLAGS         = 
31
32 OBJECTS         = cppalloc.obj cpperror.obj cppexp.obj cpphash.obj cpplib.obj cppmain.obj
33
34 TARGET          = $(PRJDIR)\bin\sdcpp.exe
35
36
37 # Compiling entire program or any subproject
38 # ------------------------------------------
39 all: $(TARGET)
40
41 $(TARGET): $(OBJECTS)
42         bcc32 -e$(TARGET) $(OBJECTS)
43
44 !include Makefile.dep
45
46 # My rules
47 # --------
48 .c.obj:
49         BCC32 -c $(CFLAGS) $(CPPFLAGS) $<
50
51
52 # End of cpp/Makefile