mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-19 16:02:36 +02:00
21 lines
433 B
Text
Executable file
21 lines
433 B
Text
Executable file
OBJS := mcpctl.o
|
|
|
|
LIBS :=
|
|
|
|
CFLAGS += -Werror -Wfatal-errors
|
|
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CC) $(BCM_LD_FLAGS) -o $@ $(OBJS) -Wl,-rpath,$(CMS_LIB_RPATH) $(CMS_LIB_PATH) $(LIBS)
|
|
ln -sf mcpctl mcp
|
|
|
|
|
|
binaryonly_prepare:
|
|
-cp $(EXE) $(mdir)/$(SAVED)
|
|
-$(MAKE) -f $(name) clean
|
|
rm -f $(mdir)/*.c $(mdir)/*.h $(mdir)/Makefile.fullsrc
|
|
|
|
|
|
# Generate and use dependencies.
|
|
CFLAGS += -MD -I$(HND_SRC)/userspace/private/include/
|
|
-include $(OBJS:.o=.d)
|