Skip to content
Snippets Groups Projects
Makefile 254 B
Newer Older
  • Learn to ignore specific revisions
  • david's avatar
    david committed
    CC= g++ 
    CXXFLAGS= -Wall -ansi --pedantic -g
    
    
    CPP_O_FILE = analyzer.o main.o
    
    david's avatar
    david committed
    
    all: $(CPP_O_FILE)
    	$(CC) $(CXXFLAGS) -o arraylist_analysis $(CPP_O_FILE)
    
    clean:
    	rm -rf *.o
    	rm -rf *~
    	rm -rf arraylist_analysis
    
    david's avatar
    david committed
    
    
    %.o: %.cpp
    	$(CC) $(CPPFLAGS) -c $< -o $@