################################# # # Makefile for the Bprobe/Cprobe library # ################################# # # If you're compiling on an AIX machine, uncomment the following line. # #DEFINES = -DAIX #DEFINES = -DDEBUG #CC = gcc #CFLAGS = -O #CFLAGS = #-g -D_DEBUG_ #-Wall -Wno-implicit CFLAGS = -g -D_DEBUG_ -Wall -Wno-implicit LDFLAGS = -lm OBJS6 = abwm.o findbwrange.o OBJS8 = abwm3.o findbwrange.o abwm3: abwm3.o findbwrange.o $(CC) $(CFLAGS) $(DEFINES) -o abwm3 $(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: abm.o $(CC) $(CFLAGS) -o abm abm.o .c.o: $(CC) -c $(CFLAGS) $(DEFINES) $*.c clean: /bin/rm -f *.o librprobe.a