##// END OF EJS Templates
Multi target feature added, It's now possible to generate differents outputs from the same inputs files with differents options...
Multi target feature added, It's now possible to generate differents outputs from the same inputs files with differents options...

File last commit:

r9:4ce02a06b2a6 default
r9:4ce02a06b2a6 default
Show More
Makefile
20 lines | 512 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 = lpc17XX-arm-noabi-gcc
ARCHFOLDER = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc
TARGET=libuart
LIBUC_INCLUDES=$(LIBUC_INC_DIR_CORE_CMD)
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_CORE_CMD) $(LIBUC_LIBS_CORE)
TARGETINSTALLPATH=$(LIBUC_LIBS_DIR)/UART
HEADERSINSTALLPATH=$(LIBUC_INC_DIR)/UART
BSP=generic
include $(ARCHFOLDER)/rules.mk
all:lib
@echo Code compiled