Skip to content

Instantly share code, notes, and snippets.

@samvasko
Created April 7, 2014 09:37
Show Gist options
  • Save samvasko/10017340 to your computer and use it in GitHub Desktop.
Save samvasko/10017340 to your computer and use it in GitHub Desktop.
Makefile for building keil projects
# Makefile for building keil projects
KEIL=wine "/home/bliker/.wine/drive_c/Keil/UV4/UV4.exe"
TMP=/tmp/keil.out
NULL=/dev/null
# Will prevent it from exiting even when somehing failied
build:
-@$(KEIL) -j0 -b -o $(TMP) *.uvproj 2> $(NULL);
@cat $(TMP)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment