src/ppr/Makefile

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    
    CFLAGS = -O3
    
    libppr.a: ppr_1d.o ppr.o
    	ar cr libppr.a $^
    
    %.o: %.f90 *.f90
    	gfortran -cpp $(CFLAGS) -c $<
    
    clean:
    	rm -f *.o *.a