By measuring the yield of prompt gamma-rays, induced by energetic protons, the ratio of the ranges in sample and standard was used in the average cross-section method to determine fluorine. By spiking the sample with known amounts of a lithium compound, a nonanalyte element (absent from the sample), the appropriate ranges in the samples were determined by measuring the prompt gamma-rays induced in the non-analyte spike. Fluorine was determined in ores and ivory and the method was tested by analyzing the standard reference materials SRM 91, SRM 120c and SRM 694.