summaryrefslogtreecommitdiff
path: root/Makefile.dj2
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.dj2')
-rw-r--r--Makefile.dj27
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.dj2 b/Makefile.dj2
index 07a9bb1..398f28b 100644
--- a/Makefile.dj2
+++ b/Makefile.dj2
@@ -42,7 +42,6 @@ LDLIBS=-L. -lz
42LD=$(CC) -s -o 42LD=$(CC) -s -o
43LDSHARED=$(CC) 43LDSHARED=$(CC)
44 44
45VER=1.0.2
46INCL=zlib.h zconf.h 45INCL=zlib.h zconf.h
47LIBS=libz.a 46LIBS=libz.a
48 47
@@ -68,10 +67,6 @@ test: all
68libz.a: $(OBJS) 67libz.a: $(OBJS)
69 $(AR) $@ $(OBJS) 68 $(AR) $@ $(OBJS)
70 69
71libz.so.$(VER): $(OBJS)
72 $(LDSHARED) -o $@ $(OBJS)
73 $(RM) libz.so; ln -s $@ libz.so
74
75%.exe : %.o $(LIBS) 70%.exe : %.o $(LIBS)
76 $(LD) $@ $< $(LDLIBS) 71 $(LD) $@ $< $(LDLIBS)
77 72
@@ -90,7 +85,7 @@ uninstall:
90 for %%p in ($(LIBS)) do $(RM) $(LIBRARY_PATH)\%%p 85 for %%p in ($(LIBS)) do $(RM) $(LIBRARY_PATH)\%%p
91 86
92clean: 87clean:
93 for %%p in (*.d *.o *.exe libz.a libz.so*) do $(RM) %%p 88 for %%p in (*.d *.o *.exe libz.a libz.so* foo.gz) do $(RM) %%p
94 89
95DEPS := $(wildcard *.d) 90DEPS := $(wildcard *.d)
96ifneq ($(DEPS),) 91ifneq ($(DEPS),)