###################################################################### ## Makefile ## ## Umut A. Acar ###################################################################### CC = g++ OPTFLAGS = -O4 -finline-functions COPTIONS = -Wno-deprecated RCFLAGS = -DNDEBUG -DNVERBOSE LDOPTIONS = INCLUDES = -I. -I../rcTrees #-g CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) LIBS = -L. LD = $(CC) $(LIBS) $(LDOPTIONS) APOBJS = Data.o Application.o default: Example .c.o: $(CC) $(CFLAGS) $(RCFLAGS) -c $*.c Example : Example.o libRCTrees $(LD) -o Example Example.o -lRCTrees libRCTrees: $(APOBJS) make rcobjs -f ../rcTrees/Makefile -C. ar r libRCTrees.a $(APOBJS) clean: rm -f *.o *.a Example