Permalink
Browse files

Makefile to make harley decode

  • Loading branch information...
1 parent 447a31a commit 10df4df2deac8048d11138ce8a1971aa8544f891 @tz1 committed May 16, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile
View
@@ -9,6 +9,8 @@ DUDE_PORT = usb
DEFS =
LIBS =
+HOSTCC = gcc -Wall -O6
+
CC = avr-gcc
CFLAGS = --std=c99 -g -Wall $(OPTIMIZE) -mmcu=$(MCU) $(DEFS)
@@ -17,11 +19,14 @@ LDFLAGS = -Wl,-Map,$(PRG).map
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
-all: $(PRG).elf lst text eeprom size
+all: $(PRG).elf lst text eeprom size harley
$(PRG).elf: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+harley: harley.c
+ $(HOSTCC) harley.c -o $@
+
harleyjg.o: harleyjg.c
clean:

0 comments on commit 10df4df

Please sign in to comment.