]> git.mdlowis.com Git - archive/dlang-scm.git/commitdiff
Updated makefile to remove unnnecessary functions and rules
authorMike D. Lowis <mike@mdlowis.com>
Tue, 3 Jul 2012 15:14:59 +0000 (11:14 -0400)
committerMike D. Lowis <mike@mdlowis.com>
Tue, 3 Jul 2012 15:14:59 +0000 (11:14 -0400)
Makefile

index e8a00f1f95c8cc524fe44dc59e2d90c610135e62..67a60a44b1af62866793678cbd80205dfdfcb422 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 ###############################################################################
 #
-# Name:    Example
+# Name:    DLang Scheme
 # Type:    Application
 # Author:  Mike Lowis
 # License: BSD 2-Clause
 # Function for generating an file list
 flist = $(shell env find $(1) -name *.$(strip $(2)) -print)
 
-# Function for generating an file list
-dlist = $(shell env find $(1) -type d -print)
-
-# Function for generating an include list
-incdirs = $(addprefix -I, $(call dlist, $(1)))
-
 # Project and Artifact Names
 #---------------------------
 PROJ_NAME   = dlang
@@ -39,6 +33,7 @@ SRC_OBJS = $(SRC_FILES:%.$(SRC_EXT)=%.o)
 
 # Compiler and Linker Options
 #----------------------------
+CSC = csc
 CSCFLAGS = -c
 
 # Build Rules
@@ -54,7 +49,7 @@ release: $(PROJ_NAME)
 # Binaries
 $(PROJ_NAME): $(SRC_OBJS)
        @echo Linking $@...
-       @$(CXX) -o $@ $(SRC_OBJS) $(LIBS)
+       @$(CSC) -o $@ $(SRC_OBJS) $(LIBS)
 
 # Object Files
 $(SRC_OBJS): %.o : %.$(SRC_EXT)
@@ -63,8 +58,6 @@ $(SRC_OBJS): %.o : %.$(SRC_EXT)
 
 # Cleanup
 clean:
-       @$(MAKE) -C tools/UnitTest++ clean
        @$(RM) $(SRC_OBJS)
-       @$(RM) $(TEST_RUNNER)*
        @$(RM) $(PROJ_NAME)*