| 1 | # |
| 2 | # GNUstep Makefile for the charset decoder/converter |
| 3 | # |
| 4 | # Copyright (C) 2001-2004 |
| 5 | # |
| 6 | # Author: Ludovic Marcotte <[email protected]> |
| 7 | # |
| 8 | # This program is free software; you can redistribute it and/or modify |
| 9 | # it under the terms of the GNU General Public License as published by |
| 10 | # the Free Software Foundation; either version 2 of the License, or |
| 11 | # (at your option) any later version. |
| 12 | # |
| 13 | # This program is distributed in the hope that it will be useful, |
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | # GNU General Public License for more details. |
| 17 | # |
| 18 | # You should have received a copy of the GNU General Public License |
| 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | |
| 21 | ifeq ($(GNUSTEP_MAKEFILES),) |
| 22 | GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null) |
| 23 | ifeq ($(GNUSTEP_MAKEFILES),) |
| 24 | $(warning ) |
| 25 | $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!) |
| 26 | $(warning Perhaps gnustep-make is not properly installed,) |
| 27 | $(warning so gnustep-config is not in your PATH.) |
| 28 | $(warning ) |
| 29 | $(warning Your PATH is currently $(PATH)) |
| 30 | $(warning ) |
| 31 | endif |
| 32 | endif |
| 33 | |
| 34 | ifeq ($(GNUSTEP_MAKEFILES),) |
| 35 | $(error You need to set GNUSTEP_MAKEFILES before compiling!) |
| 36 | endif |
| 37 | |
| 38 | include $(GNUSTEP_MAKEFILES)/common.make |
| 39 | |
| 40 | # The application to be compiled |
| 41 | APP_NAME = CharsetDecoder |
| 42 | |
| 43 | # The Objective-C source files to be compiled |
| 44 | CharsetDecoder_OBJC_FILES = CharsetDecoder.m |
| 45 | |
| 46 | # The Objective-C headers |
| 47 | CharsetDecoder_HEADERS = CharsetDecoder.h |
| 48 | |
| 49 | |
| 50 | include $(GNUSTEP_MAKEFILES)/application.make |