Skip to content

Commit 613cc12

Browse files
committed
Do not modify CFLAGS by default
1 parent 141ffac commit 613cc12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lm4flash/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ CFLAGS += $(shell pkg-config --cflags libusb-1.0)
1010
LDFLAGS += $(shell pkg-config --libs libusb-1.0)
1111
endif
1212

13-
all: CFLAGS += -O2
1413
all: $(EXE)
1514

15+
release: CFLAGS += -O2
16+
release: $(EXE)
17+
1618
debug: CFLAGS += -g -DDEBUG
1719
debug: $(EXE)
1820

0 commit comments

Comments
 (0)