06ad65fafcdde3c228c4546eb940e6df6308ccbb
[fw/sdcc] / support / cpp / Makefile.bcc
1 VERSION         = 2.2.0
2 VERSIONHI       = 2
3 VERSIONLO       = 2
4 VERSIONP        = 0
5
6 PRJDIR          = ..\..
7
8 srcdir          = .
9 prefix          = /cygnus/cygwin-b20/kvigor/
10 exec_prefix     = ${prefix}
11 bindir          = ${exec_prefix}/bin
12 libdir          = ${exec_prefix}/lib
13 datadir         = ${prefix}/share
14 includedir      = ${prefix}/include
15 mandir          = ${prefix}/man
16 man1dir         = $(mandir)/man1
17 man2dir         = $(mandir)/man2
18 infodir         = ${prefix}/info
19
20 STD_INC         = @sdcc_include_dir@
21 !include ..\..\bcc.inc
22 CFLAGS  = -I. -I$(PRJDIR) -D_FORASXXXX_
23 M_OR_MM         = -MM
24 LDFLAGS         = 
25
26 OBJECTS         = cppalloc.obj cpperror.obj cppexp.obj cpphash.obj cpplib.obj cppmain.obj
27
28 SLIBOBJS        = $(SLIB)\NewAlloc.obj
29
30 TARGET          = $(PRJDIR)\bin\sdcpp.exe
31
32
33 # Compiling entire program or any subproject
34 # ------------------------------------------
35 all: $(TARGET)
36
37 $(TARGET): $(SLIBOBJS) $(OBJECTS)
38         bcc32 -e$(TARGET) $(OBJECTS) $(SLIBOBJS)
39
40 !include Makefile.dep
41
42
43 # End of cpp/Makefile