OSDN Git Service

Update samples to nxtOSEK_v212.zip (I did not check their licenses.)
[nxt-jsp/etrobo-atk.git] / nxtOSEK / samples_c++ / cpp / NXTway_LT / Makefile
1 # Target
2 TARGET = nxtway_lt
3
4 NXTWAY_GS_DIR = NXTway_GS++
5
6 # include path
7 USER_INC_PATH= ../../../ecrobot/nxtway_gs_balancer ../$(NXTWAY_GS_DIR)
8
9 # library
10 USER_LIB = nxtway_gs_balancer
11
12 # C source file
13 TARGET_SOURCES = \
14         ../$(NXTWAY_GS_DIR)/balancer_param.c
15
16 # C++(.cpp) source files
17 TARGET_CPP_SOURCES = \
18         ../$(NXTWAY_GS_DIR)/NXTway_GS.cpp \
19         ../$(NXTWAY_GS_DIR)/StartStopDriver.cpp \
20         ../$(NXTWAY_GS_DIR)/SonarDriver.cpp \
21         ../$(NXTWAY_GS_DIR)/DriverManager.cpp \
22         LineTraceDriver.cpp \
23         sample.cpp
24
25 # TOPPERS/ATK(OSEK) config file
26 TOPPERS_OSEK_OIL_SOURCE = sample.oil
27
28 # don't change this macro
29 O_PATH ?= build
30 USER_O_PATH = ./$(NXTWAY_GS_DIR)
31
32 # makefile for C++(.cpp) build
33 include ../../../ecrobot/ecrobot++.mak