projects
/
h316.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed dependencies in Makefile
[h316.git]
/
pc-tools
/
ldc
/
Makefile
diff --git
a/pc-tools/ldc/Makefile
b/pc-tools/ldc/Makefile
index 625764e12f0a60ef9ea53e5957d88ae21c3e88f8..9902505aa568c0e37a9b06556dbe5a034cde41ca 100644
(file)
--- a/
pc-tools/ldc/Makefile
+++ b/
pc-tools/ldc/Makefile
@@
-1,9
+1,11
@@
-default: install
+default: ldc
+
+CFLAGS=-Wall
%.o: %.c *.h
@echo -n Baue: $@
@echo
%.o: %.c *.h
@echo -n Baue: $@
@echo
- @gcc -c -Wunknown-pragmas -o$@ $<
+ @gcc
${CFLAGS}
-c -Wunknown-pragmas -o$@ $<
ldc: ldc.o process.o hw_helpers.o tape.o split.o
ldc: ldc.o process.o hw_helpers.o tape.o split.o
@@
-11,9
+13,9
@@
ldc: ldc.o process.o hw_helpers.o tape.o split.o
@gcc -o$@ $^
clean:
@gcc -o$@ $^
clean:
- rm -f *.o ldc
../../bin/ldc
+ rm -f *.o ldc
-install: ldc
-
cp ldc ../../bin
+
#
install: ldc
+
#
cp ldc ../../bin
.PHONY: default all clean install
\ No newline at end of file
.PHONY: default all clean install
\ No newline at end of file