1 Debian patch touch this file
| 1 | # |
| 2 | # Makefile for IPS. |
| 3 | # |
| 4 | # Normally, IPS will be able to display to the dumb tty, the terminal |
| 5 | # using curses, or an X11 window. If you do not want the X11 display |
| 6 | # capability, then remove the X-related options from the build lines. |
| 7 | # |
| 8 | OBJS = columns.o cond.o file.o linux.o macro.o main.o options.o \ |
| 9 | proc.o show.o sort.o utils.o display.o ttydisplay.o \ |
| 10 | cursesdisplay.o x11display.o color.o commands.o |
| 11 | |
| •12 | CFLAGS += -Wall -Wmissing-prototypes -O3 -DX11 |
| 13 | |
| 14 | |
| 15 | ips: $(OBJS) Makefile |
| •16 | $(CC) -o ips $(OBJS) $(LDFLAGS) -lcurses -L/usr/X11R6/lib -lX11 |
| 17 | |
| 18 | clean: |
| 19 | rm -f ips $(OBJS) |
| 20 | |
| 21 | $(OBJS): ips.h |
| 22 | cond.o: expr.h |
| 23 | sort.o: expr.h |