Skip to content
Snippets Groups Projects
Commit a9bfb583 authored by deuce's avatar deuce
Browse files

Add rules.mk containing default rules.

Add comment for DELETE macro
parent c7a8cbcd
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
# different options of the same source file # # different options of the same source file #
# # # #
# Common Build Macros Defined: # # Common Build Macros Defined: #
# DELETE - Delete files (Preferrably verbose) #
# OBJODIR - Object output dir # # OBJODIR - Object output dir #
# LIBODIR - Library output dir # # LIBODIR - Library output dir #
# EXEODIR - Executable output dir # # EXEODIR - Executable output dir #
......
$(OBJODIR):
$(QUIET)$(IFNOTEXIST) mkdir $(OBJODIR)
$(LIBODIR):
$(QUIET)$(IFNOTEXIST) mkdir $(LIBODIR)
$(EXEODIR):
$(QUIET)$(IFNOTEXIST) mkdir $(EXEODIR)
clean:
@echo Deleting $(OBJODIR)$(SLASH)
$(QUIET)$(DELETE) $(OBJODIR)$(SLASH)*
@echo Deleting $(LIBODIR)$(SLASH)
$(QUIET)$(DELETE) $(LIBODIR)$(SLASH)*
@echo Deleting $(EXEODIR)$(SLASH)
$(QUIET)$(DELETE) $(EXEODIR)$(SLASH)*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment