mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
make: use $(RM) for removing files
This is one of the built-in variables for Make and can increase portability on different operating systems (eg, on Windows, the built-in $(RM) may be defined as "del" instead of "rm -f").
This commit is contained in:
parent
fe7d6f864a
commit
eca25952ad
8 changed files with 32 additions and 29 deletions
|
@ -40,11 +40,11 @@ freedm/texture1.lmp: textures.cfg
|
|||
cp freedm/pnames.lmp ../fdmpname.lmp
|
||||
|
||||
clean:
|
||||
rm -f phase1/texture1.lmp phase2/texture1.lmp freedm/texture1.lmp \
|
||||
$(RM) phase1/texture1.lmp phase2/texture1.lmp freedm/texture1.lmp \
|
||||
phase1/texture2.lmp \
|
||||
phase1/pnames.lmp phase2/pnames.lmp freedm/pnames.lmp \
|
||||
phase1/pnames.txt phase2/pnames.txt freedm/pnames.txt
|
||||
rm -f ../fd1txtr1.lmp ../fd1txtr2.lmp ../fd1pname.lmp \
|
||||
$(RM) ../fd1txtr1.lmp ../fd1txtr2.lmp ../fd1pname.lmp \
|
||||
../fd2txtr1.lmp ../fd2pname.lmp \
|
||||
../fdmtxtr1.lmp ../fdmpname.lmp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue