diff options
Diffstat (limited to 'dmake/startup/unix/recipes.mk')
-rw-r--r-- | dmake/startup/unix/recipes.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dmake/startup/unix/recipes.mk b/dmake/startup/unix/recipes.mk new file mode 100644 index 000000000000..1650430f3ed8 --- /dev/null +++ b/dmake/startup/unix/recipes.mk @@ -0,0 +1,15 @@ +# Define additional UNIX specific build recipes. +# + +# Define additional build targets. +%$E : %.sh; cp $< $@; chmod 0777 $@ + +# This rule tells how to make a non-suffixed executable from its single +# file source. +% : %$O; $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) + +# This rule tells how to make a.out from it's immediate list of prerequisites. +%.out :; $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +# Process release-specific refinements, if any. +.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/recipes.mk |