Search code examples
objective-cmakefilegnustep

Error When Using Make


I'm learning Objective-C using GNUStep in my Windows(Cygwin) and i have two files, one source and one make file:

include $(GNUSTEP_MAKEFILES)/common.make

APP_NAME = HelloWorld
HelloWorld_HEADERS = 
HelloWorld_OBJC_FILES = main.m
HelloWorld_RESOURCE_FILES =

include $(GNUSTEP_MAKEFILES)/application.make

But when i run make in the directory i'm getting this errors:

GNUmakefile:1: /common.make: No such file or directory
GNUmakefile:8: /application.make: No such file or directory
make: *** No rule to make target `/application.make'.  Stop.

What is wrong?


Solution

  • The GNUSTEP_MAKEFILES variable needs to be set to point to the directory that has that commmon.make file in it. K