################################# # # Makefile abwm-rr # ################################# # # If you're compiling on an AIX machine, uncomment the following line. # #DEFINES = -DAIX #DEFINES = -DDEBUG #CFLAGS = -g -D_DEBUG_ -Wall -Wno-implicit CFLAGS = -g -D_DEBUG_ LDFLAGS = -lm OBJS6 = abwm.o findbwrange.o OBJS8 = abwm-rr.o findbwrange.o abwm-rr: abwm-rr.o findbwrange.o $(CC) $(CFLAGS) $(DEFINES) -o abwm-rr $(OBJS8) -lm abwm: abwm.o findbwrange.o $(CC) $(CFLAGS) $(DEFINES) -c abwm.c $(CC) $(CFLAGS) $(DEFINES) -c findbwrange.c $(CC) $(CFLAGS) $(DEFINES) -o abwm $(OBJS6) -lm all: abm-rr: abm-rr.o $(CC) $(CFLAGS) -o abm-rr abm-rr.o .c.o: $(CC) -c $(CFLAGS) $(DEFINES) $*.c clean: /bin/rm -f *.o librprobe.a