Merge pull request #16 from elnrnag/master
[deliverable/titan.core.git] / parser / Makefile
CommitLineData
970ed795 1###############################################################################
3abe9331 2# Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
3# All rights reserved. This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License v1.0
5# which accompanies this distribution, and is available at
6# http://www.eclipse.org/legal/epl-v10.html
7###############################################################################
8# Makefile for the TTCN-3 parser
9
10OBJECTS= parser.tab.o lex.yy.o
11TARGETS= parser
12
13.c.o:
14 gcc -c -O2 -Wall $<
15
16all: $(TARGETS)
17
18clean:
19 -rm $(OBJECTS) $(TARGETS) lex.yy.c parser.tab.c parser.output parser.tab.h
20
21parser.tab.c: parser.y
22 bison -dv $<
23
24lex.yy.c: parser.l parser.tab.c
25 flex parser.l
26
27parser: $(OBJECTS)
28 gcc -o $@ $(OBJECTS)
This page took 0.024346 seconds and 5 git commands to generate.