-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Changes to make jclklib available from libptpmgmt
Signed-off-by: Noor Azura Ahmad Tarmizi <[email protected]>
- Loading branch information
1 parent
faa5a96
commit 4db0888
Showing
4 changed files
with
327 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
# SPDX-FileCopyrightText: Copyright © 2024 Intel Corporation. All rights reserved. | ||
# | ||
# Makefile for jclklib client | ||
# | ||
# @author Christopher Hall <[email protected]> | ||
# @copyright © 2024 Intel Corporation. All rights reserved. | ||
# @license LGPL-3.0-or-later | ||
# | ||
############################################################################### | ||
|
||
|
||
JCLKLIB_CLIENT_DIR := $(shell pwd)/../client | ||
JCLKLIB_TOPLEVEL_DIR = $(JCLKLIB_CLIENT_DIR)/.. | ||
JCLKLIB_COMMON_DIR = $(JCLKLIB_TOPLEVEL_DIR)/common | ||
|
||
default: test | ||
|
||
#.PHONY: build-all | ||
#build-all: test | ||
# echo "Running" $@ | ||
# $(MAKE) -C $(JCLKLIB_CLIENT_DIR) $(REAL_TARGETS) | ||
test: test.o jclklib.so | ||
g++ -o test test.o -L $(JCLKLIB_CLIENT_DIR) -I $(JCLKLIB_CLIENT_DIR)/.. -l:jclklib.so | ||
|
||
#%.o : %.cpp | ||
# echo "[COMPILE]" $< | ||
# g++ -c $< -I $(JCLKLIB_TOPLEVEL_DIR) -fPIC -fdiagnostics-color=always |
Oops, something went wrong.