Merge pull request #81 from gpilisi/master
[deliverable/titan.core.git] / parser / Makefile
CommitLineData
d44e3c4f 1##############################################################################
2# Copyright (c) 2000-2016 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
d44e3c4f 7#
8# Contributors:
9# Balasko, Jeno
10# Forstner, Matyas
11# Szabo, Janos Zoltan – initial implementation
12#
13##############################################################################
970ed795
EL
14# Makefile for the TTCN-3 parser
15
16OBJECTS= parser.tab.o lex.yy.o
17TARGETS= parser
18
19.c.o:
20 gcc -c -O2 -Wall $<
21
22all: $(TARGETS)
23
24clean:
25 -rm $(OBJECTS) $(TARGETS) lex.yy.c parser.tab.c parser.output parser.tab.h
26
27parser.tab.c: parser.y
28 bison -dv $<
29
30lex.yy.c: parser.l parser.tab.c
31 flex parser.l
32
33parser: $(OBJECTS)
34 gcc -o $@ $(OBJECTS)
This page took 0.025587 seconds and 5 git commands to generate.