forked from RoboCup-Humanoid-TC/mitecom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (16 loc) · 742 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (16 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Makefile for Mixed Team Communication example
CC := g++
CPPFLAGS := -DMITECOM_EXAMPLE \
-Wno-multichar \
-ggdb3 \
-Werror -Wfatal-errors -Wpointer-arith -Wcast-qual -Wwrite-strings -Wno-long-long -Wno-variadic-macros -Woverloaded-virtual -Wctor-dtor-privacy -Wstrict-null-sentinel -Wsign-promo -Wsign-conversion
TARGET := mitecom
SOURCE_FILES := mitecom-handler.cpp mitecom-network.cpp mitecom-main.cpp
HEADER_FILES := mitecom-data.h mitecom-handler.h mitecom-network.h
OBJECT_FILES := $(SOURCE_FILES:%.cpp=%.o)
all: $(TARGET)
$(TARGET): $(OBJECT_FILES)
$(CC) -o $(TARGET) $(OBJECT_FILES)
$(OBJECT_FILES): $(HEADER_FILES)
clean:
$(RM) $(OBJECT_FILES) $(TARGET)