Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
lm4tools_public
Commits
76035320
Commit
76035320
authored
Oct 22, 2012
by
Peter Stuge
Browse files
lm4flash Makefile: CFLAGS must come before the source file name
Otherwise include paths aren't neccessarily found by the compiler.
parent
8b6dc672
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
76035320
...
...
@@ -6,7 +6,7 @@ LDFLAGS := $(shell pkg-config --libs libusb-1.0)
all
:
$(EXE)
$(EXE)
:
$(EXE).c
gcc
$^
$(CFLAGS)
$(LDFLAGS)
-o
$@
gcc
$(CFLAGS)
$^
$(LDFLAGS)
-o
$@
clean
:
rm
-f
*
.o
$(EXE)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment