| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 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 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
example: |
| 28 |
mkdir -p SimpleSMTP.app |
| 29 |
gcc -DMACOSX -o SimpleSMTP.app/SimpleSMTP SimpleSMTP.m -framework Foundation -framework AppKit -framework Pantomime |