Jump to content
  • Advertisement
Sign in to follow this  
derda4

make

This topic is 2122 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!