Subversion Repositories libOLED

Rev

Rev 2 | Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mjames 1
#
2
OLED_SRC   = $(LIBOLED)/src
3
OLED_INC   = $(LIBOLED)/inc
4
OLED_OBJ   = $(OBJPATH)/libOLED
5
INCLUDES += -I$(OLED_INC)
6
 
7
OLED_OBJECTS += $(OLED_OBJ)/fontclass.o
8
OLED_OBJECTS += $(OLED_OBJ)/displayclass.o
3 mjames 9
OLED_OBJECTS += $(OLED_OBJ)/displayFont.o
2 mjames 10
OLED_OBJECTS += $(OLED_OBJ)/stm32_halDisplay.o
11
 
12
 
13
C_OBJECTS += $(OLED_OBJECTS)
14
 
15
$(OLED_OBJ)/%.o: $(OLED_SRC)/%.c $(DEPENDS)
16
	$(CC) $(CFLAGS)   $< -o $@
17
 
18
$(OLED_OBJ)/%.o: $(OLED_SRC)/%.cpp $(DEPENDS)
19
	$(CPP) $(CPPFLAGS)   $< -o $@
20
 
21
CPP_SOURCES += $(OLED_SRC)/fontclass.cpp
22
CPP_SOURCES += $(OLED_SRC)/displayclass.cpp
3 mjames 23
CPP_SOURCES += $(OLED_SRC)/displayFont.cpp
2 mjames 24
CPP_SOURCES += $(OLED_SRC)/stm32_halDisplay.cpp
25
 
26
C_INCLUDES += $(INCLUDES)