Sign in to follow this  

make

This topic is 1905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi
why do I get:
Project/buildFiles/Make$ make New*t
make: Nothing to be done for `New Project'.
with the file below.
Thanks

# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
# AppShared Template
APPNAME := ../../game/New Project
SOURCES := ../../../../Engine/source/main/main.cpp \
LDFLAGS := -g -m32
LDLIBS := -lstdc++
CFLAGS := -MMD -I. -Wfatal-errors -m32

CFLAGS += -DUNICODE
CFLAGS += -DTORQUE_SHARED
CFLAGS_DEBUG := $(CFLAGS) -ggdb
CFLAGS_DEBUG += -DTORQUE_DEBUG
CFLAGS_DEBUG += -DTORQUE_NET_STATS
CFLAGS_DEBUG += -DTORQUE_DEBUG_GUARD
CFLAGS += -O3
#CC := gcc
LD := gcc
APP_TARGETS += $(APPNAME)
APP_TARGETS_DEBUG += $(APPNAME)_DEBUG
OBJS_New Project := $(patsubst ../../../../Engine/source/%,Release/New Project/%.o,$(SOURCES))
OBJS_New Project += $(patsubst ../../source/%, Release/New Project/%.o,$(SOURCES))
OBJS_New Project := $(filter %.o, $(OBJS_New Project))
OBJS_New Project_DEBUG := $(patsubst ../../../../Engine/source/%,Debug/New Project/%.o,$(SOURCES))
OBJS_New Project_DEBUG += $(patsubst ../../source/%, Debug/New Project/%.o,$(SOURCES))
OBJS_New Project_DEBUG := $(filter %.o, $(OBJS_New Project_DEBUG))
# Deriving the actual prerequisite list name to use from the target
# name in the shell command is the "secret sauce" that makes this all
# work.
#
$(APPNAME): $(OBJS_New Project) $(SHARED_LIB_TARGETS)
$(LD) $(LDFLAGS) -o $@ $(OBJS_New Project) $(SHARED_LIB_TARGETS) $(LDLIBS)
$(APPNAME)_DEBUG: $(OBJS_New Project_DEBUG) $(SHARED_LIB_TARGETS_DEBUG)
$(LD) $(LDFLAGS) -o $@ $(OBJS_New Project_DEBUG) $(SHARED_LIB_TARGETS_DEBUG) $(LDLIBS)
Release/New Project/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Release/New Project/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS) $< -o $@
Debug/New Project/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Debug/New Project/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG) $< -o $@
release_New Project: $(APPNAME)
debug_New Project: $(APPNAME)_DEBUG
.PHONY: debug_New Project release_New Project
DEPS += $(patsubst %.o,%.d,$(OBJS_New Project))
DEPS += $(patsubst %.o,%.d,$(OBJS_New Project_DEBUG))
APPNAME :=
SOURCES :=

Share this post


Link to post
Share on other sites

This topic is 1905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this