pmc/Makefile
changeset 66 2b4f786d9073
parent 42 83b8151b966d
child 166 ecd6492274ad
equal deleted inserted replaced
65:76514757b0d6 66:2b4f786d9073
     1 CC=g++ -g -ggdb
     1       CC = g++ -g -ggdb
     2 CFLAGS=-Wall -O2 -ansi
     2   CFLAGS = -Wall -O2 -ansi
     3 LDFLAGS=-lSDL
     3  LDFLAGS = -lSDL
     4 INCLUDE=include
     4  INCLUDE = include
     5 CONFIG=-DSTEP=10
     5   CONFIG = -DSTEP=10
     6 
     6 
     7 OBJECTS=object.o surface.o vector.o rectangle.o cube.o main.o
     7 OBJECTS  = object.o
     8 TARGET=pmc
     8 OBJECTS += surface.o
       
     9 OBJECTS += vector.o
       
    10 OBJECTS += rectangle.o
       
    11 OBJECTS += cube.o
       
    12 OBJECTS += main.o
       
    13 
       
    14  TARGET  = pmc
     9 
    15 
    10 .SUFFIXES: .cc
    16 .SUFFIXES: .cc
    11 
    17 
    12 .cc.o:
    18 .cc.o:
    13 	$(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<
    19 	$(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<