I have a simple GNUmakefile like that:
#=====================================
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = NMReadWrite
ADDITIONAL_OBJCFLAGS += -Wno-import -g -ggdb
ADDITIONAL_LIB_DIRS += -Llibrary
ADDITIONAL_OBJC_LIBS += -lxml2 -larchive1 -lgnustep-gui
ADDITIONAL_CFLAGS += -g -ggdb
# include source files list
include codefiles.txt
include $(GNUSTEP_MAKEFILES)/tool.make
#=====================================
And now that my program compiles I would like to build, instead of 1
exe,:
2 files:
1 exe & 1 dll.
the exe being a simple sample program using the dll.
could I have 1 make file for both?
or should I have 2 makefile? and how to pass library dependency?....