You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
371 B
19 lines
371 B
|
|
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
|
|
|