pmc/Makefile
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:11 +0200
changeset 34 4a35f239fe5b
parent 4 236f8f747073
child 42 83b8151b966d
permissions -rw-r--r--
the good, old programming error: * spoon= alloc(data, spoon); * free(spoon); -> there is a spoon (missing) Code indent with my buggy GNU Indent * -> PLEASE GUYS, FIX IT!! committer: Markus Bröker <mbroeker@largo.homelinux.org>

#!/bin/bash

CC=g++
LD=ld
CFLAGS=-Wall -O2 -ansi 
LDFLAGS=-lSDL
INCLUDE=include
CONFIG=-DSTEP=2
OBJECTS=pmc.o cube.o main.o

.SUFFIXES: .cc

.cc.o: 
	$(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<

all: pmc 


pmc: $(OBJECTS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@

.PHONY: clean

clean:
	rm -f *.[oae];
	rm -f *~;
	rm -f pmc glcube