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 /minislang | |
parent | 702e6975d40b891f3a6699c54d5ef5ab9fa62f91 (diff) | |
download | anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.tar.gz anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.tar.xz anaconda-b085dbf9fa656f8eeefb7eeaa6c532647f1cf388.zip |
fixed dependency crap
Diffstat (limited to 'minislang')
-rw-r--r-- | minislang/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/minislang/Makefile b/minislang/Makefile index e4d1dc6b3..4b296c4d8 100644 --- a/minislang/Makefile +++ b/minislang/Makefile @@ -5,6 +5,14 @@ OBJS = sldisply.o slerr.o slgetkey.o slmisc.o slsignal.o slsmg.o \ CFLAGS = -fPIC +ifeq (.depend,$(wildcard .depend)) +TARGET=all +else +TARGET=depend all +endif + +everything: $(TARGET) + all: libslang.so libslang.so: $(OBJS) @@ -15,3 +23,10 @@ clean: install: libslang.so install -s libslang.so $(DESTDIR)/$(RUNTIMEDIR)/libslang.so.1 + +depend: + $(CPP) -M $(CFLAGS) *.c > .depend + +ifeq (.depend,$(wildcard .depend)) +include .depend +endif |