Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Prog2
/
labor_peldak
/
lab_09
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
952db4e8
authored
Apr 25, 2019
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile
parent
580c0a36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
generikus2/Makefile
+26
-0
No files found.
generikus2/Makefile
0 → 100644
View file @
952db4e8
# Pelda Makefile a generikus tomb feladat megoldasanak forditasara
# Solaris (ural2) es Linux ala.
# forditando obj. fajlok
objs
=
generikus2_teszt.o
# headerek, melyektol az egyszeruseg kedveert minden fugg
heads
=
fancy_iterators.hpp sablonok.hpp gtest_lite.h
prog
=
generikus2_teszt
# a program neve
CXX
=
g++
# a C++ fordito neve
CXXFLAGS
=
-pedantic
-Wall
-std
=
c++11
# C++ kapcsolok: legyen bobeszedu,
CXXFLAGS
+=
-g
# ... es forduljon debug info is
# alapertelmezett cel: tesztprogram linkelese
all
:
$(prog)
$(prog)
:
$(objs) $(objs2)
$(CXX)
$(objs)
$(objs2)
-o
$@
$(objs)
:
$(heads)
# takaritas igeny szerint
clean
:
rm
-f
$(objs)
$(prog)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment