############################################################################# # Makefile for building ta_common_cmr # Generated by tmake; # Project: ta_common/ta_common # Template: lib ############################################################################# ####### Compiler, tools and options CC = wcl386 CXX = wcl386 CFLAGS = -zq -w2 -ox -d=WIN32 CXXFLAGS= -zq -w2 -ox -d=WIN32 INCPATH = -i="..\..\..\..\..\src\ta_common" -i="..\..\..\..\..\include" LIB = wlib -b -c -n -q -p=512 MOC = moc ZIP = zip -r -9 ####### Files HEADERS = SOURCES = ..\..\..\..\..\src\ta_common\ta_global.c & ..\..\..\..\..\src\ta_common\ta_retcode.c & ..\..\..\..\..\src\ta_common\ta_version.c OBJECTS = ..\..\..\..\..\temp\cmr\ta_global.obj & ..\..\..\..\..\temp\cmr\ta_retcode.obj & ..\..\..\..\..\temp\cmr\ta_version.obj SRCMOC = OBJMOC = DIST = TARGET = ..\..\..\..\..\lib\ta_common_cmr.lib TMPLIST = ta_common_cmr.lst ####### Build rules all: $(TARGET) $(TARGET): $(OBJECTS) $(OBJMOC) @%create $(TMPLIST) @for %i in ( $(OBJECTS) $(OBJMOC) ) do @%append $(TMPLIST) +'%i' $(LIB) $(TARGET) @$(TMPLIST) del $(TMPLIST) moc: $(SRCMOC) tmake: ../cmr/win32/watcom/ta_common/Makefile ../cmr/win32/watcom/ta_common/Makefile: ta_common/ta_common.pro tmake ta_common/ta_common.pro -o ../cmr/win32/watcom/ta_common/Makefile dist: $(ZIP) ta_common/ta_common.zip ta_common/ta_common.pro $(SOURCES) $(HEADERS) $(DIST) clean: -del ..\..\..\..\..\temp\cmr\ta_global.obj -del ..\..\..\..\..\temp\cmr\ta_retcode.obj -del ..\..\..\..\..\temp\cmr\ta_version.obj -del $(TARGET) -del ../../../../../bin/*.map -del ../../../../../bin/*._xe -del ../../../../../bin/*.tds -del ../../../../../bin/*.pdb -del ../../../../../bin/*.pbo -del ../../../../../bin/*.pbi -del ../../../../../bin/*.pbt -del ../../../../../temp/cmr/*.pch -del ../../../../../temp/cmr/*.idb -del ../../../../../temp/cmr/ta_common_cmr/*.pch -del ../../../../../temp/cmr/ta_common_cmr/*.idb -del ../../../../../temp/cmr/ta_common_cmr/*.obj ####### Compile ..\..\..\..\..\temp\cmr\ta_global.obj: ..\..\..\..\..\src\ta_common\ta_global.c $(CC) -c $(CFLAGS) $(INCPATH) -fo=..\..\..\..\..\temp\cmr\ta_global.obj ..\..\..\..\..\src\ta_common\ta_global.c ..\..\..\..\..\temp\cmr\ta_retcode.obj: ..\..\..\..\..\src\ta_common\ta_retcode.c $(CC) -c $(CFLAGS) $(INCPATH) -fo=..\..\..\..\..\temp\cmr\ta_retcode.obj ..\..\..\..\..\src\ta_common\ta_retcode.c ..\..\..\..\..\temp\cmr\ta_version.obj: ..\..\..\..\..\src\ta_common\ta_version.c $(CC) -c $(CFLAGS) $(INCPATH) -fo=..\..\..\..\..\temp\cmr\ta_version.obj ..\..\..\..\..\src\ta_common\ta_version.c