mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
modify makefile
This commit is contained in:
parent
9605b378f4
commit
66bd6dd54e
1 changed files with 6 additions and 1 deletions
|
@ -232,7 +232,7 @@ WINBINS = $(patsubst %, %.exe, $(BINS))
|
||||||
CLEAN = $(BINS) $(WINBINS) $(COREOBJS) $(CMDOBJS) $(ZLIBOBJS) $(QTGUIOBJS) $(MULTIARCHOBJS) $(OBJDIR)/*.o *.moc.cpp ui/ui_overlays.h
|
CLEAN = $(BINS) $(WINBINS) $(COREOBJS) $(CMDOBJS) $(ZLIBOBJS) $(QTGUIOBJS) $(MULTIARCHOBJS) $(OBJDIR)/*.o *.moc.cpp ui/ui_overlays.h
|
||||||
|
|
||||||
# need to assign dependancies to build these first...
|
# need to assign dependancies to build these first...
|
||||||
all: lua_build $(BINS)
|
all: lua_build jansson_build $(BINS)
|
||||||
|
|
||||||
all-static: LDLIBS:=-static $(LDLIBS)
|
all-static: LDLIBS:=-static $(LDLIBS)
|
||||||
all-static: proxmark3 flasher fpga_compress
|
all-static: proxmark3 flasher fpga_compress
|
||||||
|
@ -261,6 +261,7 @@ lualibs/usb_cmd.lua: ../include/usb_cmd.h
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(CLEAN)
|
$(RM) $(CLEAN)
|
||||||
cd ../liblua && make clean
|
cd ../liblua && make clean
|
||||||
|
cd ../include/jansson && make clean
|
||||||
|
|
||||||
tarbin: $(BINS)
|
tarbin: $(BINS)
|
||||||
$(TAR) $(TARFLAGS) ../proxmark3-$(platform)-bin.tar $(BINS:%=client/%) $(WINBINS:%=client/%)
|
$(TAR) $(TARFLAGS) ../proxmark3-$(platform)-bin.tar $(BINS:%=client/%) $(WINBINS:%=client/%)
|
||||||
|
@ -268,6 +269,10 @@ tarbin: $(BINS)
|
||||||
lua_build:
|
lua_build:
|
||||||
@echo Compiling liblua, using platform $(LUAPLATFORM)
|
@echo Compiling liblua, using platform $(LUAPLATFORM)
|
||||||
cd ../liblua && make $(LUAPLATFORM)
|
cd ../liblua && make $(LUAPLATFORM)
|
||||||
|
|
||||||
|
jansson_build:
|
||||||
|
@echo Compiling jansson
|
||||||
|
cd ../include/jansson && make all
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue