projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* device/lib/pic/libdev/Makefile.in: build device-specific
[fw/sdcc]
/
device
/
lib
/
pic
/
libdev
/
Makefile.in
diff --git
a/device/lib/pic/libdev/Makefile.in
b/device/lib/pic/libdev/Makefile.in
index 451b2398d3457961a1eb7c59036d443b49cae8b0..dfb2d27b9fab28c2a4151b232624e30025d2f36e 100644
(file)
--- a/
device/lib/pic/libdev/Makefile.in
+++ b/
device/lib/pic/libdev/Makefile.in
@@
-12,7
+12,7
@@
RMDIR = @RMDIR@
CPPFLAGS = -I$(srcdir)/../../../include/pic
CPPFLAGS = -I$(srcdir)/../../../include/pic
-C_SRC = $(notdir $(wildcard $(srcdir)/pic1
6
*.c))
+C_SRC = $(notdir $(wildcard $(srcdir)/pic1*.c))
OBJS = $(C_SRC:.c=.o)
LIBS = $(addprefix $(INSTALL_DIR)/,$(OBJS:.o=.lib))
OBJS = $(C_SRC:.c=.o)
LIBS = $(addprefix $(INSTALL_DIR)/,$(OBJS:.o=.lib))
@@
-22,23
+22,29
@@
ifeq (0,1)
# useful while fixing .inc files
GPUTILS = /opt/modules/gputils-0.13.3/share/gputils
pic%.c : $(GPUTILS)/header/p%.inc
# useful while fixing .inc files
GPUTILS = /opt/modules/gputils-0.13.3/share/gputils
pic%.c : $(GPUTILS)/header/p%.inc
- -$(SDCC_BASE)/support/scripts/inc2h.pl $* $(GPUTILS)
\
- > $(SDCC_BASE)/device/include/pic/pic$*.h
+ -$(SDCC_BASE)/support/scripts/inc2h.pl $* $(GPUTILS)
;
+ -mv pic$*.h $(SDCC_BASE)/device/include/pic/pic$*.h;
endif
pic%.o : pic%.c
endif
pic%.o : pic%.c
- -$(CC) $(CPPFLAGS) $(CFLAGS) -mpic14 -p$* -o "$@" -c "$<"
+ifndef SILENT
+ @echo "[ CC ] ==> $(patsubst $(top_builddir)/%,%,$@)"
+endif
+ @-$(CC) -mpic14 -p$* $(CPPFLAGS) $(CFLAGS) -o "$@" -c "$<"
$(INSTALL_DIR)/%.lib : %.o
$(INSTALL_DIR)/%.lib : %.o
- -$(LIB) -c "$@" "$<";
+
@
-$(LIB) -c "$@" "$<";
install : all
clean : clean-intermediate
install : all
clean : clean-intermediate
- $(Q)-$(RM) *.asm
- $(Q)-$(RM) $(OBJS) $(LIBS)
- $(Q)-$(RMDIR) ../build/libdev
+ @-$(RM) *.asm
+ @-$(RM) $(OBJS) $(LIBS)
+ @-$(RMDIR) ../build/libdev
+
+distclean: clean
+ @-$(RM) Makefile
clean-intermediate :
clean-intermediate :
-
$(Q)
-$(RM) *.lst *.d *.adb
+
@
-$(RM) *.lst *.d *.adb