Makefile.gpio
209 lines
| 7.3 KiB
| text/x-makefile
|
MakefileLexer
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
|
r18 | ############################################################################# | ||
# Makefile for building: libgpio.a | ||||
# Generated by qmake (2.01a) (Qt 4.8.2) on: Sun Sep 2 16:20:22 2012 | ||||
# Project: gpio.pro | ||||
# Template: lib | ||||
# Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile.gpio gpio.pro | ||||
############################################################################# | ||||
####### Compiler, tools and options | ||||
CC = arm-none-eabi-gcc | ||||
CXX = arm-none-eabi-g++ | ||||
DEFINES = | ||||
CFLAGS = -pipe -O3 -mlittle-endian -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 -Wall $(DEFINES) | ||||
CXXFLAGS = -pipe -O3 -mlittle-endian -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 -Wall $(DEFINES) | ||||
INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../../../includes -I../../../includes/stm32f4-arm-none-eabi-gcc -I../../../includes -I../../../includes/stm32f4-arm-none-eabi-gcc | ||||
AR = arm-none-eabi-ar rcs | ||||
RANLIB = | ||||
QMAKE = /usr/bin/qmake-qt4 | ||||
TAR = tar -cf | ||||
COMPRESS = gzip -9f | ||||
COPY = cp -f | ||||
SED = sed | ||||
COPY_FILE = $(COPY) | ||||
COPY_DIR = $(COPY) -r | ||||
STRIP = arm-none-eabi-strip | ||||
INSTALL_FILE = install -m 644 -p | ||||
INSTALL_DIR = $(COPY_DIR) | ||||
INSTALL_PROGRAM = install -m 755 -p | ||||
DEL_FILE = rm -f | ||||
SYMLINK = ln -f -s | ||||
DEL_DIR = rmdir | ||||
MOVE = mv -f | ||||
CHK_DIR_EXISTS= test -d | ||||
MKDIR = mkdir -p | ||||
####### Output directory | ||||
OBJECTS_DIR = obj/ | ||||
####### Files | ||||
SOURCES = gpio.c | ||||
OBJECTS = obj/gpio.o | ||||
DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/linux.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri \ | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri \ | ||||
/usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/qt_config.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf \ | ||||
../../../../rules/common/librules.pri \ | ||||
../../../../rules/stm32f4-arm-none-eabi-gcc/rules.pri \ | ||||
/usr/lib64/qt4/mkspecs/features/release.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/staticlib.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/static.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/warn_on.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | ||||
gpio.pro | ||||
QMAKE_TARGET = gpio | ||||
DESTDIR = ../../../bin/stm32f4-arm-none-eabi-gcc/ | ||||
TARGET = libgpio.a | ||||
first: all | ||||
####### Implicit rules | ||||
.SUFFIXES: .o .c .cpp .cc .cxx .C | ||||
.cpp.o: | ||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||||
.cc.o: | ||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||||
.cxx.o: | ||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||||
.C.o: | ||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||||
.c.o: | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | ||||
####### Build rules | ||||
all: Makefile.gpio ../../../bin/stm32f4-arm-none-eabi-gcc/$(TARGET) | ||||
staticlib: ../../../bin/stm32f4-arm-none-eabi-gcc/$(TARGET) | ||||
../../../bin/stm32f4-arm-none-eabi-gcc/$(TARGET): $(OBJECTS) $(OBJCOMP) | ||||
@$(CHK_DIR_EXISTS) ../../../bin/stm32f4-arm-none-eabi-gcc/ || $(MKDIR) ../../../bin/stm32f4-arm-none-eabi-gcc/ | ||||
-$(DEL_FILE) $(TARGET) | ||||
$(AR) $(TARGET) $(OBJECTS) | ||||
-$(DEL_FILE) ../../../bin/stm32f4-arm-none-eabi-gcc/$(TARGET) | ||||
-$(MOVE) $(TARGET) ../../../bin/stm32f4-arm-none-eabi-gcc/ | ||||
Makefile.gpio: gpio.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/linux.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf \ | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri \ | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri \ | ||||
/usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/qt_config.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf \ | ||||
../../../../rules/common/librules.pri \ | ||||
../../../../rules/stm32f4-arm-none-eabi-gcc/rules.pri \ | ||||
/usr/lib64/qt4/mkspecs/features/release.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/staticlib.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/static.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/warn_on.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf \ | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf | ||||
$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile.gpio gpio.pro | ||||
/usr/lib64/qt4/mkspecs/common/unix.conf: | ||||
/usr/lib64/qt4/mkspecs/common/linux.conf: | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base.conf: | ||||
/usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | ||||
/usr/lib64/qt4/mkspecs/common/g++-base.conf: | ||||
/usr/lib64/qt4/mkspecs/common/g++-unix.conf: | ||||
/usr/lib64/qt4/mkspecs/qconfig.pri: | ||||
/usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri: | ||||
/usr/lib64/qt4/mkspecs/features/qt_functions.prf: | ||||
/usr/lib64/qt4/mkspecs/features/qt_config.prf: | ||||
/usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | ||||
/usr/lib64/qt4/mkspecs/features/default_pre.prf: | ||||
../../../../rules/common/librules.pri: | ||||
../../../../rules/stm32f4-arm-none-eabi-gcc/rules.pri: | ||||
/usr/lib64/qt4/mkspecs/features/release.prf: | ||||
/usr/lib64/qt4/mkspecs/features/default_post.prf: | ||||
/usr/lib64/qt4/mkspecs/features/staticlib.prf: | ||||
/usr/lib64/qt4/mkspecs/features/static.prf: | ||||
/usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | ||||
/usr/lib64/qt4/mkspecs/features/warn_on.prf: | ||||
/usr/lib64/qt4/mkspecs/features/resources.prf: | ||||
/usr/lib64/qt4/mkspecs/features/uic.prf: | ||||
/usr/lib64/qt4/mkspecs/features/yacc.prf: | ||||
/usr/lib64/qt4/mkspecs/features/lex.prf: | ||||
/usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | ||||
qmake: FORCE | ||||
@$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile.gpio gpio.pro | ||||
dist: | ||||
@$(CHK_DIR_EXISTS) obj/gpio1.0.0 || $(MKDIR) obj/gpio1.0.0 | ||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/gpio1.0.0/ && (cd `dirname obj/gpio1.0.0` && $(TAR) gpio1.0.0.tar gpio1.0.0 && $(COMPRESS) gpio1.0.0.tar) && $(MOVE) `dirname obj/gpio1.0.0`/gpio1.0.0.tar.gz . && $(DEL_FILE) -r obj/gpio1.0.0 | ||||
clean:compiler_clean | ||||
-$(DEL_FILE) $(OBJECTS) | ||||
-$(DEL_FILE) *~ core *.core | ||||
####### Sub-libraries | ||||
distclean: clean | ||||
-$(DEL_FILE) $(TARGET) | ||||
-$(DEL_FILE) Makefile.gpio | ||||
check: first | ||||
compiler_rcc_make_all: | ||||
compiler_rcc_clean: | ||||
compiler_uic_make_all: | ||||
compiler_uic_clean: | ||||
compiler_image_collection_make_all: qmake_image_collection.cpp | ||||
compiler_image_collection_clean: | ||||
-$(DEL_FILE) qmake_image_collection.cpp | ||||
compiler_yacc_decl_make_all: | ||||
compiler_yacc_decl_clean: | ||||
compiler_yacc_impl_make_all: | ||||
compiler_yacc_impl_clean: | ||||
compiler_lex_make_all: | ||||
compiler_lex_clean: | ||||
compiler_clean: | ||||
####### Compile | ||||
obj/gpio.o: gpio.c | ||||
$(CC) -c $(CFLAGS) $(INCPATH) -o obj/gpio.o gpio.c | ||||
####### Install | ||||
install: FORCE | ||||
uninstall: FORCE | ||||
FORCE: | ||||