blob: 7c66075aed33af174c13601b80c6bb340ab3636f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
MAKE=mingw32-make
CFLAGS=-I../../../ -I/usr/i686-pc-mingw32/sys-root/mingw/include
LDFLAGS=-L/usr/i686-pc-mingw32/sys-root/mingw/lib
CC=/usr/bin/i686-pc-mingw32-gcc
LIBS=-lwinspool
all: testspoolss.exe
clean:
rm -vf *.exe tags
ctags:
ctags `find . -name "*.[ch]" | grep -v include/proto.h`
ctags --c-kinds=-p -a `find /usr/i686-pc-mingw32/sys-root/mingw/include -name "*.[ch]" | grep -v /CVS/`
proto:
mkproto.pl printlib.c --private=printlib_proto.h --public=printlib_proto_pub.h --srcdir=. --builddir=.
mkproto.pl torture.c --private=torture_proto.h --public=torture_proto_pub.h --srcdir=. --builddir=.
testspoolss.exe: testspoolss.c printlib.c torture.c error.c
@echo Compiling testspoolss.exe
@$(CC) $(CFLAGS) $(LDFLAGS) testspoolss.c printlib.c torture.c error.c $(LIBS) -o testspoolss.exe
|