Ignore:
Timestamp:
Jun 12, 2005, 7:20:44 AM (20 years ago)
Author:
bird
Message:

Support .S files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/Makefile.gmk

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2010 r2011  
    262262FECHO = echo "$(call ECHOIZE,$2,$3,$4,$5,$6,$7,$8,$9)" >> "$1"
    263263# How to replace the source file extension with a .o extension
    264 OBJEXT = $(patsubst %.s,%.o,$(patsubst %.asm,%.o,$(patsubst %.c,%.o,$1)))
     264OBJEXT = $(patsubst %.S,%.o,$(patsubst %.s,%.o,$(patsubst %.asm,%.o,$(patsubst %.c,%.o,$1))))
    265265# Compute object file path given source file path (except the $. prefix)
    266266OBJFILE = $(addprefix $(.TKIND.DIR),$(call OBJEXT,$1))
     
    286286  cleandepend dep depend depdone
    287287.SUFFIXES:
    288 .SUFFIXES: .c .cpp .asm .s .o .exe .dll .a .lib .obj
     288.SUFFIXES: .c .cpp .asm .s .S .o .exe .dll .a .lib .obj
    289289
    290290# Default target
Note: See TracChangeset for help on using the changeset viewer.