Debian Codegraph @

Examples/SimpleSMTP/GNUmakefile

raw symbols SCIP
1 #
2 # This GNUmakefile is public domain.
3 # Do whatever you want with it.
4 #
5 # Author: Ludovic Marcotte <[email protected]>
6 #
7 -include $(GNUSTEP_MAKEFILES)/common.make
8 APP_NAME = SimpleSMTP
9 SimpleSMTP_OBJC_FILES = SimpleSMTP.m
10 SimpleSMTP_LIB_DIRS = -L../$(GNUSTEP_LIBRARIES_ROOT)
11 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
12 ifeq ($(GNUSTEP_TARGET_OS),mingw32)
13 ADDITIONAL_GUI_LIBS = -lPantomime
14 else
15 ADDITIONAL_LDFLAGS = -lPantomime
16 endif
17 -include $(GNUSTEP_MAKEFILES)/application.make
18
19 #
20 # If GNUstep Make isn't installed, as it is
21 # often the case on Mac OS X, we compile
22 # things 'manually'. To compile and run it:
23 # a) Copy Pantomime.framework in /Library/Frameworks
24 # b) Type "make"
25 # c) Type "SimpleSMTP.app/SimpleSMTP"
26 #
27 example:
28 mkdir -p SimpleSMTP.app
29 gcc -DMACOSX -o SimpleSMTP.app/SimpleSMTP SimpleSMTP.m -framework Foundation -framework AppKit -framework Pantomime