The definition of capitalizable expenses tends to be the same between GAAP and tax. The depreciation schedules are frequently different.
However: https://www.law.cornell.edu/uscode/text/26/174
any amount paid or incurred in connection with the development of any software shall be treated as a research or experimental expenditure [and be capitalized and amortized over five years even if it is disposed of, retired, or abandoned]