Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
0b8a4df5
Commit
0b8a4df5
authored
Jun 05, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless ARM variables in makefile
parent
279ca62d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
19 deletions
+4
-19
packet-exchange/build/Makefile
packet-exchange/build/Makefile
+4
-19
No files found.
packet-exchange/build/Makefile
View file @
0b8a4df5
ARM_CC
=
arm-linux-gnueabihf-gcc
SERVER_ARM_PROG
=
server_arm
CLIENT_ARM_PROG
=
client_arm
SERVER_PROG
=
server
CLIENT_PROG
=
client
SRCDIR
=
../src
...
...
@@ -19,7 +16,7 @@ SERVER_OBJS = $(SERVER_SRCS:%.c=%.o)
CLIENT_OBJS
=
$(CLIENT_SRCS:%.c=%.o)
ifeq
($(DEBUG),)
CFLAGS
=
-O2
-Wall
-Wextra
CFLAGS
=
-O2
else
CFLAGS
=
-Og
-g
-Wall
-Wextra
endif
...
...
@@ -32,18 +29,6 @@ LDFLAGS = -pthread
vpath
%.c
$(SRCDIR)
$(SERVER_ARM_PROG)
:
FORCE
make clean
make
-e
CC:
=
$(ARM_CC)
$(SERVER_PROG)
mv
$(SERVER_PROG)
$(SERVER_ARM_PROG)
$(CLIENT_ARM_PROG)
:
FORCE
make clean
make
-e
CC:
=
$(ARM_CC)
$(CLIENT_PROG)
mv
$(CLIENT_PROG)
$(CLIENT_ARM_PROG)
FORCE
:
$(SERVER_PROG)
:
$(SERVER_OBJS)
$(CC)
$(LDFLAGS)
$^
-o
$@
...
...
@@ -54,7 +39,7 @@ $(CLIENT_PROG): $(CLIENT_OBJS)
-include
$(subst .c,.d,$(CLIENT_SRCS))
clean
:
$(RM)
$(SERVER_OBJS)
$(SERVER_PROG)
$(
SERVER_ARM_PROG)
$(
subst
.c,.d,
$(SERVER_SRCS)
)
$(RM)
$(CLIENT_OBJS)
$(CLIENT_PROG)
$(
CLIENT_ARM_PROG)
$(
subst
.c,.d,
$(CLIENT_SRCS)
)
$(RM)
$(SERVER_OBJS)
$(SERVER_PROG)
$(
subst
.c,.d,
$(SERVER_SRCS)
)
$(RM)
$(CLIENT_OBJS)
$(CLIENT_PROG)
$(
subst
.c,.d,
$(CLIENT_SRCS)
)
.PHONY
:
clean
FORCE
.PHONY
:
clean
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