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