Uploading Arduino sketch to standalone Atmega168

I'm trying to move my Arduino based project to a standalone system. I'm using an Atmega168 running with the internal oscillator (8 MHz), using the Sparkfun AVR Pocket Programmer to program it. I'm having ino target the lilypad, since I believe that also uses the Atmega168 @ 8 MHz. Then, I use avrdude to upload the firmware.hex file that ino produces. avrdude says that uploading completes successfully, but the program doesn't seem to run (it's just supposed to blink an LED for now). The Atmega is just hooked up with the pocket programmer, LED, power/ground, and a 1K resistor tying reset high. Is there anything else I need to do to upload an Arduino sketch to a standalone chip?

Thanks!

When avrdude tells that the upload was successful, it is was successful. Some kind of code was uploaded into the chip.

I hope you didn't use the -F flag to force the wrong code in the wrong ATmega ?
Did you use a resistor with that led ?
How is it powered ? With what power source ? Did you connect VCC and AVCC to 5V ? and both GND to ground ?
Please decouple the 5V by using 100nF at 5V and GND.

Nope, definetly no -F flag. Yes, do have a resistor with the LED. It's being powered from the pocket programmer, yeah VCC, AVCC are at 5V and both GNDs are to ground. Will try try the 100nF cap, thanks for the suggestion.

e: Nope, the caps didn't do it.

If the hardware is okay, it could be the fuses or the sketch.

The old Lilypad uses the ATmega168.
You could read the fuses with avrdude, and check them here: AVR® Fuse Calculator – The Engbedded Blog

Are your sure the sketch is okay, and the led is connected to the right pin ?

Sorry, I'm officially an idiot - was uploading .build/uno/firmware.hex, not .build/lilypad/firmware.hex.

Thanks so much for the suggestions : )