Rework LuCI build system
[project/luci.git] / libs / luci-lib-nixio / axTLS / config / makefile.post
1
2 ifneq ($(MAKECMDGOALS), clean)
3 ifndef CONFIG_PLATFORM_WIN32
4 ifndef CONFIG_PLATFORM_SOLARIS
5 # do dependencies
6 -include .depend
7 all : .depend
8 .depend: $(wildcard *.c)
9 @$(CC) $(CFLAGS) -MM $^ > $@
10 endif # 'not' solaris
11 endif # 'not' win32
12
13 ifdef CONFIG_PLATFORM_WIN32
14 OBJ:=$(OBJ:.o=.obj)
15 %.obj : %.c
16 $(CC) $(CFLAGS) $<
17 endif # win32
18
19 endif # end of 'not' clean