mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
Update makefile : add make bin
This commit is contained in:
parent
b88e839978
commit
323b7e6fad
4
makefile
4
makefile
@ -24,10 +24,12 @@ CFLAGS+=-DVERSION=\"$(MAJOR).$(MINOR).$(MICRO)\"
|
||||
APPSRCS=src/main.cpp src/helpers/*.cpp src/helpers/*.h
|
||||
LIBSRCS=src/classes/*.cpp src/classes/*.h
|
||||
|
||||
.PHONY: all debug clean setup install uninstall lib install-lib install-dev
|
||||
.PHONY: all bin debug clean setup install uninstall lib install-lib install-dev
|
||||
|
||||
all: lib/lib$(PROGN).so bin/$(PROGN)
|
||||
|
||||
bin: bin/$(PROGN)
|
||||
|
||||
bin/$(PROGN): $(APPSRCS) $(LIBSRCS)
|
||||
@mkdir -p bin
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user