Makefile
20 lines
| 512 B
| text/x-makefile
|
MakefileLexer
r2 | ||||
PROJECTDIR = `pwd` | ||||
LIBUC = /opt/libuc2 | ||||
r1 | ||||
HEADERSINSTALLPATH = $(LIBUC_INC_DIR)/UART | ||||
HEADERS += uart.h | ||||
r4 | LIBSOURCES += uart.c | |||
OBJECTFILES = $(LIBSOURCES:.c=.o) | ||||
r9 | ARCH = lpc17XX-arm-noabi-gcc | |||
ARCHFOLDER = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc | ||||
r1 | TARGET=libuart | |||
r9 | LIBUC_INCLUDES=$(LIBUC_INC_DIR_CORE_CMD) | |||
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_CORE_CMD) $(LIBUC_LIBS_CORE) | ||||
r1 | TARGETINSTALLPATH=$(LIBUC_LIBS_DIR)/UART | |||
HEADERSINSTALLPATH=$(LIBUC_INC_DIR)/UART | ||||
r4 | BSP=generic | |||
r9 | include $(ARCHFOLDER)/rules.mk | |||
r1 | ||||
all:lib | ||||
@echo Code compiled | ||||