Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hard-coding of LINKER variable. #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.o
validate
tan
*.dSYM
27 changes: 12 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SEARCHDIRS := -I${MYCODEDIR} -I${PARSER}

# makemake variables

DEPENDFLAGS := -g -Wall -Werror ${SEARCHDIRS}
DEPENDFLAGS := -g -Wall ${SEARCHDIRS}

# C preprocessor (C, C++, FORTRAN)

Expand All @@ -39,6 +39,16 @@ CFLAGS = ${DEPENDFLAGS}
CXX ?= g++
CXXFLAGS = ${DEPENDFLAGS} -ansi -Wall

# C/C++/Eiffel/FORTRAN linker

LINKER := $(CXX) -g
LDFLAGS =
LOADLIBES :=

# LEX generator
LEX ?= flex
YACC ?= bison

%.o : %.cc
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

Expand All @@ -52,20 +62,7 @@ CXXFLAGS = ${DEPENDFLAGS} -ansi -Wall
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

%.cpp : %.yacc
flex -+ src/Parser/pddl+.lex -o /src/Parser/lex.yy.cc; bison $< -o src/pddl+.cpp



# C/C++/Eiffel/FORTRAN linker

LINKER := g++ -g
LDFLAGS =
LOADLIBES :=



# This is what makemake added

${LEX} -+ src/Parser/pddl+.lex -o /src/Parser/lex.yy.cc; ${YACC} $< -o src/pddl+.cpp

# validate

Expand Down
Binary file removed obj/parser/src/DebugWriteController.o
Binary file not shown.
Binary file removed obj/parser/src/parse.o
Binary file not shown.
Binary file removed obj/parser/src/pddl+.o
Binary file not shown.
Binary file removed obj/parser/src/ptree.o
Binary file not shown.
Binary file removed obj/tan/src/DebugWriteController.o
Binary file not shown.
Binary file removed obj/tan/src/FuncAnalysis.o
Binary file not shown.
Binary file removed obj/tan/src/TypedAnalyser.o
Binary file not shown.
Binary file removed obj/tan/src/TypedAnalysis.o
Binary file not shown.
Binary file removed obj/tan/src/pddl+.o
Binary file not shown.
Binary file removed obj/tan/src/ptree.o
Binary file not shown.
Binary file removed obj/tan/src/typecheck.o
Binary file not shown.
Binary file removed obj/validate/src/Action.o
Binary file not shown.
Binary file removed obj/validate/src/Analysis.o
Binary file not shown.
Binary file removed obj/validate/src/CausalGraph.o
Binary file not shown.
Binary file removed obj/validate/src/Commitments.o
Binary file not shown.
Binary file removed obj/validate/src/DebugWriteController.o
Binary file not shown.
Binary file removed obj/validate/src/Environment.o
Binary file not shown.
Binary file removed obj/validate/src/Evaluator.o
Binary file not shown.
Binary file removed obj/validate/src/Events.o
Binary file not shown.
Binary file removed obj/validate/src/FastEnvironment.o
Binary file not shown.
Binary file removed obj/validate/src/FuncExp.o
Binary file not shown.
Binary file removed obj/validate/src/LaTeXSupport.o
Binary file not shown.
Binary file removed obj/validate/src/Ownership.o
Binary file not shown.
Binary file removed obj/validate/src/Plan.o
Binary file not shown.
Binary file removed obj/validate/src/Polynomial.o
Binary file not shown.
Binary file removed obj/validate/src/PrettyPrinter.o
Binary file not shown.
Binary file removed obj/validate/src/Proposition.o
Binary file not shown.
Binary file removed obj/validate/src/RepairAdvice.o
Binary file not shown.
Binary file removed obj/validate/src/RobustAnalyse.o
Binary file not shown.
Binary file removed obj/validate/src/SimpleEval.o
Binary file not shown.
Binary file removed obj/validate/src/State.o
Binary file not shown.
Binary file removed obj/validate/src/TIM.o
Binary file not shown.
Binary file removed obj/validate/src/TimSupport.o
Binary file not shown.
Binary file removed obj/validate/src/TrajectoryConstraints.o
Binary file not shown.
Binary file removed obj/validate/src/Utils.o
Binary file not shown.
Binary file removed obj/validate/src/Validator.o
Binary file not shown.
Binary file removed obj/validate/src/main.o
Binary file not shown.
Binary file removed obj/validate/src/pddl+.o
Binary file not shown.
Binary file removed obj/validate/src/ptree.o
Binary file not shown.
Binary file removed obj/validate/src/random.o
Binary file not shown.
Binary file removed obj/validate/src/typecheck.o
Binary file not shown.
Binary file removed parser
Binary file not shown.
Binary file removed src/Action.o
Binary file not shown.
Binary file removed src/DebugWriteController.o
Binary file not shown.
Binary file removed src/Environment.o
Binary file not shown.
Binary file removed src/Events.o
Binary file not shown.
Binary file removed src/FuncAnalysis.o
Binary file not shown.
Binary file removed src/FuncExp.o
Binary file not shown.
Binary file removed src/LaTeXSupport.o
Binary file not shown.
Binary file removed src/Ownership.o
Binary file not shown.
Binary file removed src/Plan.o
Binary file not shown.
Binary file removed src/Polynomial.o
Binary file not shown.
Binary file removed src/PrettyPrinter.o
Binary file not shown.
Binary file removed src/Proposition.o
Binary file not shown.
Binary file removed src/RepairAdvice.o
Binary file not shown.
Binary file removed src/RobustAnalyse.o
Binary file not shown.
Binary file removed src/State.o
Binary file not shown.
Binary file removed src/TrajectoryConstraints.o
Binary file not shown.
Binary file removed src/TypedAnalyser.o
Binary file not shown.
Binary file removed src/TypedAnalysis.o
Binary file not shown.
Binary file removed src/Utils.o
Binary file not shown.
Binary file removed src/Validator.o
Binary file not shown.
Binary file removed src/main.o
Binary file not shown.
Binary file removed src/pddl+.o
Binary file not shown.
Binary file removed src/ptree.o
Binary file not shown.
Binary file removed src/random.o
Binary file not shown.
Binary file removed src/typecheck.o
Binary file not shown.
Binary file removed tan
Binary file not shown.
Binary file removed validate
Binary file not shown.