Using a chef's knife, coarsely chop garlic with red-pepper flakes. Gather into a pile; sprinkle generously with salt.
Place flat side of knife blade on top of garlic, with sharp side of blade facing away from you; press down firmly, pulling knife toward you. Repeat until a paste forms.
Combine in a small bowl with vegetable oil.