DNA-sim

git clone git://git.codymlewis.com/DNA-sim.git
Log | Files | Refs | README | LICENSE

makefile (273B)


      1 CC=g++
      2 CFLAGS=-c -g -Wall
      3 LDFLAGS=
      4 SOURCES=Codon.cpp Strand.cpp main.cpp
      5 OBJECTS=$(SOURCES:.cpp=.o)
      6 EXECUTABLE=DNA_sim
      7 
      8 all: $(SOURCES) $(EXECUTABLE)
      9 
     10 $(EXECUTABLE): $(OBJECTS)
     11 	$(CC) $(LDFLAGS) $(OBJECTS) -o $@
     12 
     13 %.o : %.cpp
     14 	$(CC) $(CFLAGS) -c $<
     15 
     16 clean:
     17 	rm -rf *.o core