test: uti: add tofu examples
Change-Id: I1c55c872d125201e60b4fe744af74106e1c5d3a4
This commit is contained in:
20
test/uti/tofu/with_libuti/Makefile
Normal file
20
test/uti/tofu/with_libuti/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# Makefile COPYRIGHT FUJITSU LIMITED 2021
|
||||
|
||||
CC = gcc
|
||||
INC = -I../include -I/home/users/ea01/ea0105/aarch64/usr/include
|
||||
LDFLAGS = -lpthread -L/home/users/ea01/ea0105/aarch64/usr/lib -luti -Wl,-rpath -Wl,/home/users/ea01/ea0105/aarch64/usr/lib
|
||||
# CFLAGS = -g -Wall
|
||||
CFLAGS = -g
|
||||
|
||||
all: uti_perf ctrl
|
||||
|
||||
ctrl: ctrl.c
|
||||
$(CC) $(INC) $(LDFLAGS) $(CFLAGS) -o $@ $^
|
||||
|
||||
uti_perf: uti_perf.c
|
||||
$(CC) $(INC) $(LDFLAGS) $(CFLAGS) -o $@ $^
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) -f uti_perf ctrl
|
||||
|
||||
Reference in New Issue
Block a user