pkmnfrk
2007-03-21 20:27:53 -0700 (Wed, 21 Mar 2007)
599
A Makefile for the main OHR
RE revision 1061, it's not that I don't know how to create a Makefile, but I
just don't know how to compile a cpp in a Makefile. Fair enough.
Anyway, needless to say, this will only work if you have a copy of
Here (I think proper CFLAGS practice is to load from the CFLAGS
environment variable but I don't know how to do that):
CFLAGS=-O2
SRCS=file1.cpp file2.cpp file3.cpp
OBJS=file1.o file2.o file3.o
CC=g++
all:targetnamehere
clean:
-rm -rf *.o binarynamehere
targetnamehere: $(OBJS)