Mercurial > dwindows
changeset 261:3087f7da0515
Change the order of header file includes; ensure local files are found first.
Add dist target to make dwindows<ver>.tar.gz
Change zip target to make dwindows<ver>.zip
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 23 Feb 2003 08:33:43 +0000 |
parents | e320dc29bfcd |
children | ccddd3ca0637 |
files | Makefile.in |
diffstat | 1 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Sun Feb 23 06:35:18 2003 +0000 +++ b/Makefile.in Sun Feb 23 08:33:43 2003 +0000 @@ -15,6 +15,7 @@ VER_MAJ = 1 VER_MIN = 0 PREFIX = @prefix@ +SRCDIR=dwindows-$(VER_MAJ).$(VER_MIN) #.SUFFIXES: .c .h @@ -105,16 +106,16 @@ $(SYSCONF_LINK_LIB) dw.o: $(srcdir)/gtk/dw.c - $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $(srcdir)/gtk/dw.c + $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/gtk/dw.c compat.o: $(srcdir)/compat.c - $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $(srcdir)/compat.c + $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/compat.c ci.o: $(srcdir)/ci.c - $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $(srcdir)/ci.c + $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/ci.c dwtest.o: $(srcdir)/dwtest.c - $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $(srcdir)/dwtest.c + $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/dwtest.c ci: ci.o $(CC) -o ci ci.o -L$(PREFIX)/lib -ldw -ldwcompat $(LFLAGS) @@ -123,7 +124,13 @@ $(CC) -o dwtest dwtest.o -L$(PREFIX)/lib -ldw -ldwcompat $(LFLAGS) zip: - zip dw.zip $(srcdir)/makefile.* $(srcdir)/readme $(srcdir)/*.c $(srcdir)/*.h \ + zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/makefile.* $(srcdir)/readme $(srcdir)/*.c $(srcdir)/*.h \ $(srcdir)/*.def $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure \ $(srcdir)/ac*.m4 $(srcdir)/gtk/*.c $(srcdir)/win/*.c $(srcdir)/os2/*.c \ $(srcdir)/platform/*.h + +dist: + (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/makefile.* $(SRCDIR)/readme $(SRCDIR)/*.c $(SRCDIR)/*.h \ + $(SRCDIR)/*.def $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure \ + $(SRCDIR)/ac*.m4 $(SRCDIR)/gtk/*.c $(SRCDIR)/win/*.c $(SRCDIR)/os2/*.c \ + $(SRCDIR)/platform/*.h | gzip > dwindows-$(VER_MAJ).$(VER_MIN).tar.gz )