git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Buglocating: Some random corruption in VFS, FDD lockups
[tpg/acess2.git]
/
Usermode
/
Libraries
/
Makefile.tpl
diff --git
a/Usermode/Libraries/Makefile.tpl
b/Usermode/Libraries/Makefile.tpl
index
709aaac
..
eedd9d3
100644
(file)
--- a/
Usermode/Libraries/Makefile.tpl
+++ b/
Usermode/Libraries/Makefile.tpl
@@
-1,18
+1,26
@@
# Acess 2 SQLite 3 Library
#
# Acess 2 SQLite 3 Library
#
+DEPFILES := $(OBJ:%.o=%.d)
+
.PHONY: all clean install
all: $(BIN)
clean:
.PHONY: all clean install
all: $(BIN)
clean:
- $(RM) $(BIN) $(OBJ)
+ $(RM) $(BIN) $(OBJ)
$(BIN).dsm
install: $(BIN)
$(xCP) $(BIN) $(DISTROOT)/Libs/
$(BIN): $(OBJ)
install: $(BIN)
$(xCP) $(BIN) $(DISTROOT)/Libs/
$(BIN): $(OBJ)
- $(LD) $(LDFLAGS) -o $(BIN) $(OBJ)
+ @echo [LD] -o $(BIN) $(OBJ)
+ @$(LD) $(LDFLAGS) -o $(BIN) $(OBJ)
+ @$(OBJDUMP) -d -S $(BIN) > $(BIN).dsm
%.o: %.c
%.o: %.c
- $(CC) $(CFLAGS) -o $@ -c $<
+ @echo [CC] -o $@
+ @$(CC) $(CFLAGS) -o $@ -c $<
+ @$(CC) -M -MT $@ $(CPPFLAGS) $< -o $*.d
+
+-include $(DEPFILES)
UCC
git Repository :: git.ucc.asn.au