##// END OF EJS Templates
Libuc make templates extracted from main script, to make it more modular
Libuc make templates extracted from main script, to make it more modular

File last commit:

r4:cbb4685a2e27 default
r7:16404fe7ec6c default
Show More
Makefile
19 lines | 463 B | text/x-makefile | MakefileLexer
PROJECTDIR = `pwd`
LIBUC = /opt/libuc2
HEADERSINSTALLPATH = $(LIBUC_INC_DIR)/UART
HEADERS += uart.h
LIBSOURCES += uart.c
OBJECTFILES = $(LIBSOURCES:.c=.o)
ARCH = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc
TARGET=libuart
LIBUC_INCLUDES=$(LIBUC_INC_DIR_CORE)
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_CORE) $(LIBUC_LIBS_CORE)
TARGETINSTALLPATH=$(LIBUC_LIBS_DIR)/UART
HEADERSINSTALLPATH=$(LIBUC_INC_DIR)/UART
BSP=generic
include $(ARCH)/rules.mk
all:lib
@echo Code compiled