X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=rf433rcv%2Fpc%2FMakefile;h=8626087f4068d0a28f746954d046b5476f2f2dc1;hp=62d2d6682c6175c439f40ba681063a617a3b8edb;hb=5b00dab1a7d2ac2d8a593f0bd6e85a7194e2c9bd;hpb=deb2b278d460a716e0e2d8be370b1ee8f8963e34 diff --git a/rf433rcv/pc/Makefile b/rf433rcv/pc/Makefile index 62d2d66..8626087 100644 --- a/rf433rcv/pc/Makefile +++ b/rf433rcv/pc/Makefile @@ -36,12 +36,23 @@ endif OBJS = $(PROG).o hid.o -all: $(TARGET) +all: $(TARGET) compress uncompress reset + +compress: compress.c + $(CC) -o compress compress.c + +uncompress: uncompress.c + $(CC) -o uncompress uncompress.c $(PROG): $(OBJS) $(CC) -o $(PROG) $(OBJS) $(LIBS) $(STRIP) $(PROG) + +reset: hid.o reset.o + $(CC) -o reset reset.o hid.o $(LIBS) + $(STRIP) reset + $(PROG).exe: $(PROG) cp $(PROG) $(PROG).exe @@ -53,6 +64,9 @@ $(PROG).dmg: $(PROG) hid.o: hid_$(OS).c hid.h $(CC) $(CFLAGS) -c -o $@ $< +reset.o: reset.c + $(CC) $(CFLAGS) -c -o $@ $< + clean: rm -f *.o $(PROG) $(PROG).exe $(PROG).dmg rm -rf tmp