2019-02-27 08:44:29 +01:00
|
|
|
#
|
|
|
|
# Copyright 2019 Xilinx, Inc.
|
2022-02-14 16:10:10 +01:00
|
|
|
# Copyright 2022 DrasLorus
|
2019-02-27 08:44:29 +01:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
2022-02-14 16:10:10 +01:00
|
|
|
|
|
|
|
all: a.out ex1.out ex2.out ex3.out
|
|
|
|
|
2019-02-25 07:46:40 +01:00
|
|
|
a.out: test.cpp
|
2022-02-14 16:10:10 +01:00
|
|
|
g++ -I../../include test.cpp -std=c++14 -o a.out
|
2019-02-25 07:46:40 +01:00
|
|
|
./a.out
|
|
|
|
|
2022-02-14 16:10:10 +01:00
|
|
|
ex1.out: ap_int_manip_ex.cpp
|
|
|
|
g++ -I../../include ap_int_manip_ex.cpp -std=c++14 -o ex1.out
|
|
|
|
./ex1.out
|
|
|
|
|
|
|
|
ex2.out: ap_int_manip_ex2.cpp
|
|
|
|
g++ -I../../include ap_int_manip_ex2.cpp -std=c++14 -o ex2.out
|
|
|
|
./ex2.out
|
|
|
|
|
|
|
|
ex3.out: ap_int_manip_ex3.cpp
|
|
|
|
g++ -I../../include ap_int_manip_ex3.cpp -std=c++14 -o ex3.out
|
|
|
|
./ex3.out
|
|
|
|
|
2019-02-25 07:46:40 +01:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2022-02-14 16:10:10 +01:00
|
|
|
rm -rf *.out
|