wmclockmon: rename `DFLAGS` `debug_CFLAGS`
[dockapps.git] / yawmppp / src / dockapp / Makefile.in
blob39a23b5c4ebdd609889d29cc1a3f1ac1613fd828
1 CC = @CC@
2 LIBDIR = -L/usr/X11R6/lib -L@XLIB@
3 LIBS = -lXpm -lXext -lX11
4 CFLAGS = -O2 -Wall -I.. -I@XINC@
5 RLFLAG = -DVERSION=\"@MK_YAWMPPP_RELEASE@\" -D@SYSDEF@
6 OBJS = yawmppp.o wmgeneral.o
7 DOTHS = yawmppp.h wmgeneral.h ../misc.h ../list.h ../isprc.h ../ycommon.h
8 EOBJS = ../isprc.o ../ycommon.o ../misc.o ../list.o
9 PROGINST = @INSTALL@
10 PIXMAPS = dockxpm.xpm
12 all: yawmppp_bin getmodemspeed_bin
14 $(OBJS): %.o : %.c $(DOTHS) $(PIXMAPS)
15 $(CC) -c $(CFLAGS) $(RLFLAG) $< -o $*.o
17 yawmppp_bin: $(OBJS)
18 $(CC) -o yawmppp $^ $(EOBJS) -lXext $(LIBDIR) $(LIBS)
20 getmodemspeed_bin: getmodemspeed.c
21 $(CC) $(CFLAGS) getmodemspeed.c -o yagetmodemspeed
23 clean:
24 rm -f $(OBJS) yawmppp yagetmodemspeed
26 distclean:
27 rm -f Makefile *~
29 install:
30 $(PROGINST) -m 0755 yawmppp @prefix@/bin/yawmppp
31 $(PROGINST) -m 0755 yagetmodemspeed /etc/ppp/yagetmodemspeed
33 install-strip:
34 $(PROGINST) -s -m 0755 yawmppp @prefix@/bin/yawmppp
35 $(PROGINST) -s -m 0755 yagetmodemspeed /etc/ppp/yagetmodemspeed