1 LIBDIR
= -L
/usr
/X11R6
/lib
2 LIBS
= -lXpm
-lXext
-lX11
3 OBJS
= wmisdn.o regions.o
9 g
++ -c
-Wall
-DVER
=$(VER
) $< -o
$*.o
12 g
++ -o wmisdn
$^
$(LIBDIR
) $(LIBS
)
15 install -d
/usr
/local
/sbin
/
16 install -s
-o root
-g root
-m
0700 wmisdn
/usr
/local
/sbin
/wmisdn
17 install -d
/usr
/local
/doc
/wmisdn
/
18 install -m
0644 CHANGES COPYING README
/usr
/local
/doc
/wmisdn
/
21 for i in
$(OBJS
); do
rm -f
$$i; done
26 cd ..
/ ; tar --exclude
=$(DIR
)/stuff
--exclude
=$(DIR
)/dist -c
$(DIR
)/ | gzip
-c
> $(DIR
)/dist/wmisdn-
$(VER
).tgz