Skip to content
Snippets Groups Projects
Makefile 386 B
Newer Older
  • Learn to ignore specific revisions
  • PROGRAMS = simple rings spokes dot particle_trail mixer
    
    # Important optimization options
    
    CFLAGS = -O3 -ffast-math
    
    
    # Standard libraries
    LFLAGS = -lm -lstdc++
    
    # Debugging
    CFLAGS += -g -Wall -Wno-tautological-constant-out-of-range-compare -Wno-gnu-static-float-init
    LFLAGS += -g
    
    	$(CC) $(CFLAGS) $< -o $@ $(LFLAGS)
    
    
    .PHONY: clean all
    
    clean:
    	rm -f $(PROGRAMS)