3 INCLUDES
=-I
/usr
/X11R6
/include/X11
-I
/usr
/local
/include -I
/usr
/include/X11R6
/X11
4 LIBINC
=-L
/usr
/X11R6
/lib
-L
/usr
/include/lib
5 LIBS
= -lm
-lX11
-lXpm
-lXext
12 if
[ -e buttons.xpm
]; then
rm buttons.xpm
; fi
13 if
[ -e pushed_buttons.xpm
]; then
rm pushed_buttons.xpm
; fi
14 if
[ -e backdrop.xpm
]; then
rm backdrop.xpm
; fi
15 ln
-s buttons-scalpel.xpm buttons.xpm
16 ln
-s pushed_buttons-scalpel.xpm pushed_buttons.xpm
17 ln
-s backdrop-scalpel.xpm backdrop.xpm
22 if
[ -e buttons.xpm
]; then
rm buttons.xpm
; fi
23 if
[ -e pushed_buttons.xpm
]; then
rm pushed_buttons.xpm
; fi
24 if
[ -e backdrop.xpm
]; then
rm backdrop.xpm
; fi
25 ln
-s buttons-gv.xpm buttons.xpm
26 ln
-s pushed_buttons-gv.xpm pushed_buttons.xpm
27 ln
-s backdrop-gv.xpm backdrop.xpm
31 ###################################################################
34 gcc
-g
-c
-Wall
${INCLUDES} ${FLAGS} $< -o
$*.o
37 gcc
-g
-o
${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
40 for i in
${OBJECTS}; do if
[ -e
$$i ] ; then
rm $$i; fi
; done
41 if
[ -e
${TARGET} ] ; then
rm ${TARGET}; fi