pmc/Makefile
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 17:58:06 +0100
changeset 13 2640a7fd96ca
parent 4 236f8f747073
child 42 83b8151b966d
permissions -rw-r--r--
clear() is better than resize(0) 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