Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions examples/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ Q := @
NULL := 2>/dev/null
endif

# Now, before we go any further, let's enter the 21st century.
# Clear make's built in fortran module pascal yacc idontevenwhat
.SUFFIXES:
# And add in things we might maybe actually use.
.SUFFIXES: .c .h .o .cxx .elf .bin .list .lss
# And now turn off all implicit rules support long dead version control
%: %,v
%: RCS/%,v
%: RCS/%
%: s.%
%: SCCS/s.%


###############################################################################
# Executables

Expand Down