File: GNUmakefile

package info (click to toggle)
pantomime 1.4.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,288 kB
  • sloc: objc: 22,039; makefile: 11; sh: 4
file content (29 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (8)
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
#
# This GNUmakefile is public domain.
# Do whatever you want with it.
#
# Author: Ludovic Marcotte <ludovic@Sophos.ca>
#
-include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = SimplePOP3
SimplePOP3_OBJC_FILES = SimplePOP3.m
SimplePOP3_LIB_DIRS = -L../$(GNUSTEP_LIBRARIES_ROOT)
ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
ADDITIONAL_GUI_LIBS = -lPantomime
else
ADDITIONAL_LDFLAGS = -lPantomime
endif
-include $(GNUSTEP_MAKEFILES)/application.make

#
# If GNUstep Make isn't installed, as it is
# often the case on Mac OS X,  we compile
# things 'manually'. To compile and run it:
# a) Copy Pantomime.framework in /Library/Frameworks
# b) Type "make"
# c) Type "SimplePOP3.app/SimplePOP3"
#
example:
	mkdir -p SimplePOP3.app
	gcc -DMACOSX -o SimplePOP3.app/SimplePOP3 SimplePOP3.m -framework Foundation -framework AppKit -framework Pantomime