diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-09 16:26:45 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-09 16:26:45 +0000 |
commit | b085dbf9fa656f8eeefb7eeaa6c532647f1cf388 (patch) | |
tree | 4e877f88ec463af51627d5aa361edddcf52f3e3d /ddcprobe/Makefile | |
parent | 702e6975d40b891f3a6699c54d5ef5ab9fa62f91 (diff) | |
download | anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.tar.gz anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.tar.xz anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.zip |
fixed dependency crap
Diffstat (limited to 'ddcprobe/Makefile')
-rw-r--r-- | ddcprobe/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ddcprobe/Makefile b/ddcprobe/Makefile index bde30e509..728c17ceb 100644 --- a/ddcprobe/Makefile +++ b/ddcprobe/Makefile @@ -2,6 +2,14 @@ CFLAGS=-Wall -O -g# -DDEBUG TARGETS=ddcprobe svgamodes ddcxinfo modetest libvbe.a +ifeq (.depend,$(wildcard .depend)) +TARGET=all +else +TARGET=depend all +endif + +everything: $(TARGET) + all: $(TARGETS) install: $(TARGETS) @@ -28,3 +36,10 @@ $(DESTDIR)/usr/lib/libvbe.a: clean: $(RM) $(TARGETS) *.o core + +depend: + $(CPP) -M $(CFLAGS) *.c > .depend + +ifeq (.depend,$(wildcard .depend)) +include .depend +endif |