réplica de
https://git.openwrt.org/project/luci.git
sincronizado 2025-01-19 07:55:46 +00:00
1bb4822dca
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
19 líneas
371 B
Text
19 líneas
371 B
Text
|
|
ifneq ($(MAKECMDGOALS), clean)
|
|
ifndef CONFIG_PLATFORM_WIN32
|
|
ifndef CONFIG_PLATFORM_SOLARIS
|
|
# do dependencies
|
|
-include .depend
|
|
all : .depend
|
|
.depend: $(wildcard *.c)
|
|
@$(CC) $(CFLAGS) -MM $^ > $@
|
|
endif # 'not' solaris
|
|
endif # 'not' win32
|
|
|
|
ifdef CONFIG_PLATFORM_WIN32
|
|
OBJ:=$(OBJ:.o=.obj)
|
|
%.obj : %.c
|
|
$(CC) $(CFLAGS) $<
|
|
endif # win32
|
|
|
|
endif # end of 'not' clean
|