From 23324b150843aa4cbe0176abf20332c1aeb4b281 Mon Sep 17 00:00:00 2001 From: James Turk Date: Fri, 4 Mar 2005 13:08:09 +0000 Subject: [PATCH] SCons! --- makefile | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 makefile diff --git a/makefile b/makefile deleted file mode 100644 index d4e1d86..0000000 --- a/makefile +++ /dev/null @@ -1,41 +0,0 @@ -#This file is part of Photon (http://photon.sourceforge.net) -#Copyright (C) 2004-2005 James Turk -# -# Author: -# James Turk (jpt2433@rit.edu) -# -# Version: -# $Id: makefile,v 1.4 2005/02/27 09:00:13 cozman Exp $ - -INCLUDE_DIR = ./include -SRC_DIR = ./src -LIB_DIR = ./lib - -SUBDIRS = audio math util util/filesys -INCLUDE_DIRS = $(INCLUDE_DIR) $(foreach dir,$(SUBDIRS),$(INCLUDE_DIR)/$(dir)) -SRC_DIRS = $(SRC_DIR) $(foreach dir,$(SUBDIRS),$(SRC_DIR)/$(dir)) - -SRCS = $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.cpp)) -INCLUDES = $(foreach dir,$(INCLUDE_DIRS),$(wildcard $(dir)/*.hpp)) -OBJS = $(SRCS:.cpp=.o) - -LIBS = -lphysfs -lglfw -lOpenGL32 -lOpenAL32 - -LIBNAME = photon -LIBFILE = $(LIB_DIR)/lib$(LIBNAME).a - -CXX = g++ -CPPFLAGS_INCS = $(foreach dir,$(INCLUDE_DIRS),-I$(dir)) -CPPFLAGS = -Wall $(CPPFLAGS_INCS) - -.PHONY: all clean - -all: $(LIBFILE) - -clean: - rm -f $(OBJS) $(LIBFILE) - -$(LIBFILE): $(OBJS) - @echo Building $(LIBFILE)... - ar r $(LIBFILE) $(OBJS) - ranlib $(LIBFILE)