The unified diff between revisions [81e4dce2..] and [4f22e7ef..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'Makefile'
# # old_revision [81e4dce274e79dd9187ed4bd182e1d6fc0fdfb37] # new_revision [4f22e7ef7d3064e3b51a5b868a4722f3f13c747b] # # patch "Makefile" # from [5665964a6034f95200be1f471778af03abfca1b5] # to [33137b98e954e7abaca672f6ad561d1367b25d30] # ============================================================ --- Makefile 5665964a6034f95200be1f471778af03abfca1b5 +++ Makefile 33137b98e954e7abaca672f6ad561d1367b25d30 @@ -4,9 +4,11 @@ CSRCS=main.c i2c.c wmp.c timer.c interru SSRCS=crt0.s CSRCS=main.c i2c.c wmp.c timer.c interrupt.c uart.c event.c matrix.c dcm.c -CSRCS+=fisqrt.c stick.c trig.c motor.c +CSRCS+=fisqrt.c stick.c trig.c motor.c led.c watchdog.c panic.c status.c +CSRCS+=thrust.c -#PROJOPTS=-DUSE_UART -DSEND_DCM +#PROJOPTS=-DUSE_UART -DSEND_DCM -DSTICK_DEBUG_CALIBRATE +PROJOPTS=-DTIMER_CPPM COPTIM?=-O1 CFLAGS=-march=armv4t -msoft-float $(COPTIM) -Wall -Werror -Wextra $(PROJOPTS) @@ -36,6 +38,8 @@ OBJS=$(SOBJS) $(COBJS) .SUFFIXES: .elf .hex .bin +$(OBJS): Makefile + $(NAME).elf: $(OBJS) $(CC) $(CFLAGS) -nostdlib -nostartfiles -T $(LDSCRIPT) -Wl,-Map -Wl,$(NAME).map -o $(NAME).elf $(OBJS) -lgcc