3 # This Makefile will compile abcm2ps using djgpp or mingw out of the box.
4 # If you use cygwin but want to make a mingw binary, change CFLAGS below.
9 # settings for djgpp or mingw32
10 CFLAGS = -O2 -Wall -DHAVE_CONFIG_H -I.
11 # to make a mingw executable using cygwin, use these CFLAGS:
12 # CFLAGS = -O2 -Wall -DHAVE_CONFIG_H -mno-cygwin -I. \
13 # -I/usr/include/mingw -L/usr/lib/mingw
15 OBJECTS=abc2ps.o abcparse.o buffer.o deco.o draw.o format.o music.o \
18 $(ABCM2PS): $(OBJECTS)
19 $(CC) $(CFLAGS) -o $(ABCM2PS) $(OBJECTS)
21 $(OBJECTS): abcparse.h abc2ps.h config.h
25 cd ..; zip -r abcm2ps-$(VERSION).zip \
26 abcm2ps-$(VERSION)/$(ABCM2PS) \
27 abcm2ps-$(VERSION)/License \
28 abcm2ps-$(VERSION)/Changes \
29 abcm2ps-$(VERSION)/INSTALL \
30 abcm2ps-$(VERSION)/sample3.eps \
31 abcm2ps-$(VERSION)/*.abc \
32 abcm2ps-$(VERSION)/*.fmt \
33 abcm2ps-$(VERSION)/*.txt ; cd -
38 # End of file Makefile.w32