Skip to content

Instantly share code, notes, and snippets.

View Schievel1's full-sized avatar

Pascal J Schievel1

  • Germany
  • 05:53 (UTC +02:00)
View GitHub Profile
@Schievel1
Schievel1 / makefile
Last active January 2, 2023 11:54 — forked from daoshuti/makefile
Makefile for building keil projects
# Makefile for building Keil projects out of WSL
# Pascal Jaeger <pascal.jaeger@schaltbau-bode.com> 2023.01.02
KEIL ?= "/mnt/c/Keil_v5/UV4/UV4.exe"
BCONSOLE ?= "/mnt/c/Program\ Files\ \(x86\)/Cortex\ Bootloader/BConsole/BConsole.exe"
TMP=keil.out
NULL=/dev/null
.PHONY: build all clean flash help
# Keils exit code will be 1 when there were warnungs, which would trigger make to exit