Return to GNUmakefile CVS log | Up to [OMI] / omi / mof |
File: [OMI] / omi / mof / GNUmakefile
(download)
Revision: 1.4, Mon Apr 20 17:19:53 2015 UTC (9 years, 2 months ago) by krisbash Branch: MAIN CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD Changes since 1.3: +1 -1 lines OMI 1.0.8-1 |
TOP = .. include $(TOP)/config.mak LIBRARY = mof SOURCES = state.c heap.c buffer.c mofyacc.c moflex.c types.c ptrarray.c INCLUDES = $(TOP) $(TOP)/common DEFINES = MI_CHAR_TYPE=1 MI_CONST= HOOK_BUILD LIBRARIES = base include $(TOP)/mak/rules.mak # We must ignore 'suggest parentheses' warning in YACC generated code. ifeq ($(COMPILER),GNU) $(OBJDIRPATH)/mofyacc.o : mofyacc.c $(call compilec, mofyacc.c, -Wno-parentheses -Wno-unused) endif # We must ignore 'Label ??? has no uses' error. ifeq ($(COMPILER),HP) $(OBJDIRPATH)/mofyacc.o : mofyacc.c $(call compilec, mofyacc.c, +W612 +W2177) endif ##============================================================================== ## ## Lex and YACC rules ## ##============================================================================== grammar: lex yacc yacc: yacc -d mof.y mv y.tab.c mofyaccinc.c mv y.tab.h mofyacc.h lex: flex mof.l mv lex.yy.c moflexinc.c
ViewCVS 0.9.2 |