| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
ifeq ($(GNUSTEP_MAKEFILES),) |
| 5 |
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null) |
| 6 |
ifeq ($(GNUSTEP_MAKEFILES),) |
| 7 |
$(warning ) |
| 8 |
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!) |
| 9 |
$(warning Perhaps gnustep-make is not properly installed,) |
| 10 |
$(warning so gnustep-config is not in your PATH.) |
| 11 |
$(warning ) |
| 12 |
$(warning Your PATH is currently $(PATH)) |
| 13 |
$(warning ) |
| 14 |
endif |
| 15 |
endif |
| 16 |
ifeq ($(GNUSTEP_MAKEFILES),) |
| 17 |
$(error You need to set GNUSTEP_MAKEFILES before compiling!) |
| 18 |
endif |
| 19 |
|
| 20 |
include $(GNUSTEP_MAKEFILES)/common.make |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
VERSION = 0.1 |
| 26 |
PACKAGE_NAME = Ycode |
| 27 |
APP_NAME = Ycode |
| 28 |
Ycode_APPLICATION_ICON = |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
Ycode_RESOURCE_FILES = \ |
| 35 |
Resources/Ycode.gorm \ |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
Ycode_HEADER_FILES = \ |
| 42 |
AppController.h \ |
| 43 |
YCodeDocumentController.h \ |
| 44 |
YCTreeView.h \ |
| 45 |
YCEditorView.h \ |
| 46 |
YCInspectorView.h \ |
| 47 |
YCodeWindowController.h |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
Ycode_OBJC_FILES = \ |
| 53 |
AppController.m \ |
| 54 |
YCodeDocumentController.m \ |
| 55 |
YCTreeView.m \ |
| 56 |
YCEditorView.m \ |
| 57 |
YCInspectorView.m \ |
| 58 |
YCodeWindowController.m |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
Ycode_OBJC_FILES += \ |
| 64 |
Ycode_main.m |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
-include GNUmakefile.preamble |
| 70 |
include $(GNUSTEP_MAKEFILES)/aggregate.make |
| 71 |
include $(GNUSTEP_MAKEFILES)/application.make |
| 72 |
-include GNUmakefile.postamble |