mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@78 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
20 lines
371 B
Plaintext
20 lines
371 B
Plaintext
|
|
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
|