]> git.gag.com Git - fw/sdcc/blob - support/cpp/Makefile.org
Include error number in ErrTab
[fw/sdcc] / support / cpp / Makefile.org
1
2
3 YACC=bison
4 CC=gcc
5 LEX=flex
6 TARGETS=$(SDCCDIR)/bin/sdcpp
7 STD_INC=$(SDCCDIR)/sdcc51inc
8 CFLAGS=-I . -DSTANDARD_INCLUDE_DIR='"$(STD_INC)"'  -O2
9 ALLOBJECTS=cppalloc.o  cpperror.o  cppexp.o    cpphash.o   cpplib.o    cppmain.o 
10 all: $(TARGETS)
11
12 ${TARGETS}: ${ALLOBJECTS}
13         ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${ALLOBJECTS}
14