Makefile
20 lines
| 676 B
| text/x-makefile
|
MakefileLexer
r6 | ||||
PROJECTDIR = `pwd` | ||||
LIBUC = /opt/libuc2 | ||||
HEADERSINSTALLPATH = $(LIBUC_BSP_INC_DIR)/LandTiger | ||||
HEADERS += bsp.h | ||||
LIBSOURCES += bsp.c | ||||
OBJECTFILES = $(LIBSOURCES:.c=.o) | ||||
r9 | ARCH = lpc17XX-arm-noabi-gcc | |||
ARCHFOLDER = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc | ||||
r6 | TARGET=libbsp | |||
r9 | LIBUC_INCLUDES=$(LIBUC_INC_DIR_UART_CMD) $(LIBUC_INC_DIR_IIC_CMD) $(LIBUC_INC_DIR_CORE_CMD) | |||
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_UART_CMD) $(LIBUC_LIBS_UART) $(LIBUC_LIBS_DIR_IIC_CMD) $(LIBUC_LIBS_IIC) $(LIBUC_LIBS_DIR_CORE_CMD) $(LIBUC_LIBS_CORE) | ||||
r6 | TARGETINSTALLPATH=$(LIBUC_BSP_BIN_DIR)/LandTiger | |||
HEADERSINSTALLPATH=$(LIBUC_BSP_INC_DIR)/LandTiger | ||||
BSP=generic | ||||
r9 | include $(ARCHFOLDER)/rules.mk | |||
r6 | ||||
all:lib | ||||
@echo Code compiled | ||||