diff options
author | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:29 +0000 |
---|---|---|
committer | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:29 +0000 |
commit | 3ce320b1618b5c1a2232a6887c5fef780872171c (patch) | |
tree | e43bc1a76ea617225cd26c026696578aa7440b8b /software/hhd70dongle/pcusbhid/Makefile | |
parent | spi and c1101 code shuffling (diff) |
debugging test attempts
git-svn-id: https://svn.spreadspace.org/mur.sat@418 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/pcusbhid/Makefile')
-rw-r--r-- | software/hhd70dongle/pcusbhid/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/software/hhd70dongle/pcusbhid/Makefile b/software/hhd70dongle/pcusbhid/Makefile index c6689ed..cd0f018 100644 --- a/software/hhd70dongle/pcusbhid/Makefile +++ b/software/hhd70dongle/pcusbhid/Makefile @@ -35,8 +35,7 @@ endif OBJS = $(PROG).o hid.o - -all: $(TARGET) +all: $(TARGET) reset $(PROG): $(OBJS) $(CC) -o $(PROG) $(OBJS) $(LIBS) @@ -53,6 +52,10 @@ $(PROG).dmg: $(PROG) hid.o: hid_$(OS).c hid.h $(CC) $(CFLAGS) -c -o $@ $< +reset: reset.o hid.o + $(CC) -o $@ $+ $(LIBS) + $(STRIP) $@ + reset.o: reset.c $(CC) $(CFLAGS) -c -o $@ $< |