############################################################################# # Makefile for building ../../../../../lib/libta_common_cmp.a # Generated by tmake; # Project: ta_common/ta_common # Template: lib ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ CFLAGS = -pipe -Wall -W -g -O -pg -D_REENTRANT -DTA_DEBUG -D_DEBUG -DQT_THREAD_SUPPORT CXXFLAGS= -pipe -Wall -W -g -D_REENTRANT -DTA_DEBUG -D_DEBUG -DQT_THREAD_SUPPORT INCPATH = -I../../../../../src/ta_common -I../../../../../include -I/usr/local/include AR = ar cqs RANLIB = MOC = $(QTDIR)/bin/moc UIC = $(QTDIR)/bin/uic TAR = tar -cf GZIP = gzip -9f ####### Support for 64-bit systems ifeq ($(shell uname -m), x86_64) CFLAGS += -march=x86-64 -m64 -D__64BIT__ CXXFLAGS += -march=x86-64 -m64 -D__64BIT__ endif ####### Apply additional overruling user flags, if any CFLAGS += $(CUSERFLAGS) CXXFLAGS += $(CUSERFLAGS) ####### Files HEADERS = SOURCES = ../../../../../src/ta_common/ta_global.c \ ../../../../../src/ta_common/ta_retcode.c \ ../../../../../src/ta_common/ta_version.c OBJECTS = ../../../../../temp/cmp/ta_global.o \ ../../../../../temp/cmp/ta_retcode.o \ ../../../../../temp/cmp/ta_version.o INTERFACES = UICDECLS = UICIMPLS = SRCMOC = OBJMOC = DIST = TARGET = ../../../../../lib/libta_common_cmp.a INTERFACE_DECL_PATH = . ####### Implicit rules .SUFFIXES: .cpp .cxx .cc .C .c .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ####### Build rules all: $(TARGET) staticlib: $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) -rm -f $(TARGET) $(AR) $(TARGET) $(OBJECTS) $(OBJMOC) moc: $(SRCMOC) clean: -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET) -rm -f *~ core ####### Sub-libraries ###### Combined headers ####### Compile ../../../../../temp/cmp/ta_global.o: ../../../../../src/ta_common/ta_global.c $(CC) -c $(CFLAGS) $(INCPATH) -o ../../../../../temp/cmp/ta_global.o ../../../../../src/ta_common/ta_global.c ../../../../../temp/cmp/ta_retcode.o: ../../../../../src/ta_common/ta_retcode.c $(CC) -c $(CFLAGS) $(INCPATH) -o ../../../../../temp/cmp/ta_retcode.o ../../../../../src/ta_common/ta_retcode.c ../../../../../temp/cmp/ta_version.o: ../../../../../src/ta_common/ta_version.c $(CC) -c $(CFLAGS) $(INCPATH) -o ../../../../../temp/cmp/ta_version.o ../../../../../src/ta_common/ta_version.c