-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGNUmakefile
62 lines (52 loc) · 1.09 KB
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# GNUmakefile - Generated by ProjectCenter
#
ifeq ($(GNUSTEP_MAKEFILES),)
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
endif
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
endif
include $(GNUSTEP_MAKEFILES)/common.make
#
# Application
#
VERSION = 0.1
PACKAGE_NAME = PaperScan
APP_NAME = PaperScan
#
# Resource files
#
PaperScan_RESOURCE_FILES = \
Resources/Main.gsmarkup \
Resources/PaperScan.png
ifeq ($(FOUNDATION_LIB), apple)
PaperScan_RESOURCE_FILES += Resources/MainMenu-OSX.gsmarkup
PaperScan_MAIN_MARKUP_FILE = MainMenu-OSX.gsmarkup
else
PaperScan_RESOURCE_FILES += Resources/MainMenu-GNUstep.gsmarkup
PaperScan_MAIN_MARKUP_FILE = MainMenu-GNUstep.gsmarkup
endif
#
# Header files
#
PaperScan_HEADER_FILES = \
AppController.h \
ScannerController.h
#
# Class files
#
PaperScan_OBJC_FILES = \
AppController.m \
ScannerController.m
#
# Other sources
#
PaperScan_OBJC_FILES += \
PaperScan.m
#
# Makefiles
#
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/application.make
-include GNUmakefile.postamble