M2_SETI/A1/TP/axtls-code/config/makefile.post

20 lines
371 B
Text
Raw Normal View History

2022-11-28 11:40:47 +01:00
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