|
Last change
on this file since 1036 was 894, checked in by bird, 22 years ago |
|
Converted to make 3.80+, no need to generate makefiles.
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
920 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 | # Generate compilation rule for a c file
|
|---|
| 4 | define def_compile_c
|
|---|
| 5 | $$.$(call OBJFILE,$(1)): $(1)
|
|---|
| 6 | $$(call DO.COMPILE.c,$(.TCF) $(.TCF.$(1)))
|
|---|
| 7 | endef
|
|---|
| 8 |
|
|---|
| 9 | # Generate compilation rule for a S file
|
|---|
| 10 | define def_compile_S
|
|---|
| 11 | $$.$(call OBJFILE,$(1)): $(1)
|
|---|
| 12 | $$(call DO.COMPILE.s,$(.TSF) $(.TSF.$(1)))
|
|---|
| 13 | endef
|
|---|
| 14 |
|
|---|
| 15 | # Generate compilation rule for an asm files
|
|---|
| 16 | define def_compile_asm
|
|---|
| 17 | $$.$(call OBJFILE,$(1)): $(1)
|
|---|
| 18 | $$(call DO.COMPILE.asm,$(.TAF) $(.TAF.$(1)))
|
|---|
| 19 | endef
|
|---|
| 20 |
|
|---|
| 21 | # Linking rule for an EXE.
|
|---|
| 22 | define def_link_exe
|
|---|
| 23 | $$.$(.TARG): $(.OBJS) $(.DEPS)
|
|---|
| 24 | $$(call DO.LINK.exe,$(.TLDF))
|
|---|
| 25 | endef
|
|---|
| 26 |
|
|---|
| 27 | # Linking rule for a DLL.
|
|---|
| 28 | define def_link_dll
|
|---|
| 29 | $$.$(.TARG): $(.OBJS) $(.DEPS) $(.TDEF)
|
|---|
| 30 | $$(call DO.LINK.dll,$(.TLDF))
|
|---|
| 31 | endef
|
|---|
| 32 |
|
|---|
| 33 | # The rule for building an archive
|
|---|
| 34 | define def_lib
|
|---|
| 35 | $$.$(.TARG): $(.OBJS) $(.DEPS)
|
|---|
| 36 | $$(DO.LIBRARY)
|
|---|
| 37 | endef
|
|---|
| 38 |
|
|---|
| 39 | # The rule for building an archive with imports
|
|---|
| 40 | define def_implib
|
|---|
| 41 | $$.$(.TARG): $(.IMPS) $(.OBJS) $(.DEPS)
|
|---|
| 42 | $$(call DO.IMPLIB)
|
|---|
| 43 | endef
|
|---|
| 44 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.