Added some files we forgot to track
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# Simple makefile for now, we'll use something more complex if/when we need it
|
||||
|
||||
PROJECT=graphgame
|
||||
CXX=g++
|
||||
CXXFLAGS=-DDEBUG -g
|
||||
LDFLAGS=-lSDL
|
||||
OBJECTS=drawutils.o gamecore.o graph.o main.o mainevent.o
|
||||
|
||||
all: $(PROJECT)
|
||||
|
||||
$(PROJECT): $(OBJECTS)
|
||||
$(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) $(PROJECT)
|
10
debug.h
Normal file
10
debug.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
|
||||
#ifdef DEBUG
|
||||
#include <iostream>
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user