File tree 5 files changed +12
-13
lines changed 5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ before_install:
12
12
- tar xjf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
13
13
- export PATH="$PWD/arm-2009q1/bin:$PATH"
14
14
- sudo apt-get install -y libc6-i386
15
- - cd API
16
15
17
16
before_script :
18
17
- test ! -e API/libev3api.a || (echo "libev3api.a shouldn't be part of version control! Aborting..."; false)
Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ extern "C" {
43
43
#include <string.h>
44
44
#include <stdbool.h>
45
45
46
- #include < ev3_constants.h>
47
- #include < ev3_command.h>
48
- #include < ev3_output.h>
49
- #include < ev3_sensor.h>
50
- #include < ev3_button.h>
51
- #include < ev3_lcd.h>
52
- #include < ev3_sound.h>
46
+ #include " ev3_constants.h"
47
+ #include " ev3_command.h"
48
+ #include " ev3_output.h"
49
+ #include " ev3_sensor.h"
50
+ #include " ev3_button.h"
51
+ #include " ev3_lcd.h"
52
+ #include " ev3_sound.h"
53
53
54
54
// Priority of the InitEV3/FreeEV3 functions for automatic construction and destruction
55
55
// see https://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Function-Attributes.html
Original file line number Diff line number Diff line change 18
18
#ifndef EV3_ANALOG_H_
19
19
#define EV3_ANALOG_H_
20
20
21
- #include < ev3_typedata.h>
21
+ #include " ev3_typedata.h"
22
22
23
23
/*! \page NxtColorMemory
24
24
*
Original file line number Diff line number Diff line change 16
16
#ifndef EV3_TYPEDATA_H_
17
17
#define EV3_TYPEDATA_H_
18
18
19
- #include < ev3_basictypes.h>
19
+ #include " ev3_basictypes.h"
20
20
21
21
#define MAX_DEVICE_MODES 8 //!< Max number of modes in one device
22
22
#define INPUTS 4
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ SED = sed
8
8
MKDIR = mkdir -p
9
9
INSTALL = cp
10
10
RM = rm -rf
11
- SRCS = $(wildcard * .c)
11
+ SRCS = $(wildcard API/ * .c)
12
12
OBJS = $(patsubst % .c,% .o,$(SRCS ) )
13
13
CFLAGS += -fno-strict-aliasing -fwrapv
14
14
CFLAGS += -Wall -Wextra -Wpointer-sign -Wno-unused-parameter
@@ -18,7 +18,7 @@ libev3api.a: $(OBJS)
18
18
$(AR ) rcs $@ $^
19
19
20
20
% .o : % .c
21
- $(CC ) -Os $(CFLAGS ) -isystem. -c $<
21
+ $(CC ) -Os $(CFLAGS ) -isystem. -c $< -o $@
22
22
23
23
libev3api.pc : libev3api.pc.in
24
24
$(SED ) -e " s+@PREFIX@+$( DESTDIR) +" $< > $@
@@ -41,4 +41,4 @@ example:
41
41
42
42
.PHONY : clean install uninstall
43
43
clean :
44
- $(RM ) * .o * .a * .d example
44
+ $(RM ) API/ * .o * .a * .d example
You can’t perform that action at this time.
0 commit comments