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
Many changes, bugfixes to user vsnprintf and to escape code handling
[tpg/acess2.git]
/
Usermode
/
Applications
/
Makefile.tpl
diff --git
a/Usermode/Applications/Makefile.tpl
b/Usermode/Applications/Makefile.tpl
index
d18e52e
..
8aad269
100644
(file)
--- a/
Usermode/Applications/Makefile.tpl
+++ b/
Usermode/Applications/Makefile.tpl
@@
-2,9
+2,11
@@
#
#
#
#
-CFLAGS += -Wall -fno-builtin -fno-stack-protector
+CFLAGS += -Wall -fno-builtin -fno-stack-protector
-g
LDFLAGS +=
LDFLAGS +=
+DEPFILES := $(OBJ:%.o=%.d)
+
.PHONY : all clean install
all: $(BIN)
.PHONY : all clean install
all: $(BIN)
@@
-17,9
+19,12
@@
install: $(BIN)
$(BIN): $(OBJ)
@echo --- $(LD) -o $@
$(BIN): $(OBJ)
@echo --- $(LD) -o $@
- @$(LD) $(LDFLAGS) -o $@ $(OBJ) -Map Map.txt
- @objdump -d $(BIN) > $(BIN).dsm
+ @$(LD)
-g
$(LDFLAGS) -o $@ $(OBJ) -Map Map.txt
+ @objdump -d
-S
$(BIN) > $(BIN).dsm
$(OBJ): %.o: %.c
@echo --- GCC -o $@
$(OBJ): %.o: %.c
@echo --- GCC -o $@
- @$(CC) $(CFLAGS) $(CPPFLAGS) -c $? -o $@
+ @$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
+ @$(CC) -M -MT $@ $(CPPFLAGS) $< -o $*.d
+
+-include $(DEPFILES)
UCC
git Repository :: git.ucc.asn.au