forked from KCL-Planning/VAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMake.header
72 lines (45 loc) · 1.2 KB
/
Make.header
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Edit this file to define constants and custom build targets.
# Please refer to the makemake documentation for more information.
#
# To compile multiple versions of a program or library, please study
# http://www.its.caltech.edu/~jafl/jcc/multi_version.html
# Useful directories
MYCODEDIR := .
# Directories to search for header files
SEARCHDIRS := -I- -I${MYCODEDIR}
# Note that -I- should be -iquote for g++ version 4
# makemake variables
DEPENDFLAGS := -g -Wall -Werror ${SEARCHDIRS}
# C preprocessor (C, C++, FORTRAN)
CPPFLAGS =
# C compiler
CC := gcc
CFLAGS = ${DEPENDFLAGS}
%.o : %.c
${CC} ${CPPFLAGS} ${CFLAGS} -c $< -o $@
# C++ compiler
CXX := g++
CXXFLAGS = ${DEPENDFLAGS} -ansi -Wall
%.o : %.cc
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
%.o : %.C
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
%.o : %.cpp
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
%.o : %.cxx
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
%.cpp : %.yacc
flex++ pddl+.lex ; bison $< -o $@
# FORTRAN compiler
FC := f77
FFLAGS =
# C/C++/Eiffel/FORTRAN linker
LINKER := g++ -g
LDFLAGS =
LOADLIBES :=
# Java compiler
JAVAC := javac
JFLAGS =
JAR := jar
%.class : %.java
${JAVAC} ${JFLAGS} $<