| 1 | # $Id: makefile.icc,v 1.10 2000-05-23 18:23:04 bird Exp $ | 
|---|
| 2 |  | 
|---|
| 3 | # | 
|---|
| 4 | # PD-Win32 API | 
|---|
| 5 | # | 
|---|
| 6 | # Tools common library, ICC version. | 
|---|
| 7 | # | 
|---|
| 8 | # | 
|---|
| 9 |  | 
|---|
| 10 |  | 
|---|
| 11 | # Directory macros. | 
|---|
| 12 | PDWIN32_INCLUDE = ..\..\include | 
|---|
| 13 | PDWIN32_BIN     = ..\..\bin\$(OBJDIR) | 
|---|
| 14 | PDWIN32_LIB     = ..\..\lib | 
|---|
| 15 | PDWIN32_TOOLS   = ..\bin | 
|---|
| 16 | PDWIN32_TCOMMON = ..\common | 
|---|
| 17 |  | 
|---|
| 18 |  | 
|---|
| 19 | # Defines for the pdwin32.post and pdwin32.mk | 
|---|
| 20 | EXETARGET   = 1 | 
|---|
| 21 | LOCALCLEAN  = 1 | 
|---|
| 22 | CLEANEXTRAS = commonicc.lib | 
|---|
| 23 |  | 
|---|
| 24 |  | 
|---|
| 25 | # Compiler, tools, and interference rules. | 
|---|
| 26 | !include $(PDWIN32_INCLUDE)\pdwin32.mk | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 | # Addjust common definitions... | 
|---|
| 30 | CFLAGS   = $(CFLAGS)   -Wall+ppt-ppc-inl-cnv-gnr-vft- | 
|---|
| 31 | CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | # | 
|---|
| 35 | # Object files. | 
|---|
| 36 | # Important! No space after the filenames! The space will be converted | 
|---|
| 37 | #     to a '+' operator on the ILIB command line. NMAKE adds a space | 
|---|
| 38 | #     for each new line. This space is converted to a '+' which | 
|---|
| 39 | #     prefixes each filenames. | 
|---|
| 40 | # | 
|---|
| 41 | OBJS =\ | 
|---|
| 42 | $(OBJDIR)\kFilePe.obj\ | 
|---|
| 43 | $(OBJDIR)\kFileDef.obj\ | 
|---|
| 44 | $(OBJDIR)\kFileLx.obj\ | 
|---|
| 45 | $(OBJDIR)\kFileFormatBase.obj\ | 
|---|
| 46 | $(OBJDIR)\kFile.obj | 
|---|
| 47 |  | 
|---|
| 48 |  | 
|---|
| 49 | # All rule. | 
|---|
| 50 | all:    $(OBJDIR) \ | 
|---|
| 51 | commonicc.lib | 
|---|
| 52 |  | 
|---|
| 53 |  | 
|---|
| 54 | commonicc.lib: $(OBJDIR)\commonicc.lib | 
|---|
| 55 | $(CP) $** $@ | 
|---|
| 56 |  | 
|---|
| 57 | $(OBJDIR)\commonicc.lib: $(OBJS) | 
|---|
| 58 | $(RM) $@ | 
|---|
| 59 | $(ILIB) /nobackup $@ $(OBJS: = +), NUL; | 
|---|
| 60 |  | 
|---|
| 61 |  | 
|---|
| 62 | # Dependent rule. Forward to main makefile. | 
|---|
| 63 | dep: | 
|---|
| 64 | @$(MAKE) /nologo -f makefile NODEP=1 dep | 
|---|
| 65 |  | 
|---|
| 66 |  | 
|---|
| 67 | # Includes the common rules. | 
|---|
| 68 | !include $(PDWIN32_INCLUDE)/pdwin32.post | 
|---|
| 69 |  | 
|---|