ObjFW  Check-in [d0db1d8814]

Overview
Comment:Add manpage for objfw-compile
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d0db1d88142fa8455e7990532ac6dd85e4cef2d481a69312b8b3bfe69c5ab4ac
User & Date: js on 2024-08-31 20:34:41
Other Links: manifest | tags
Context
2024-08-31
20:36
Add license to manpages check-in: 476072fb85 user: js tags: trunk
20:34
Add manpage for objfw-compile check-in: d0db1d8814 user: js tags: trunk
09:28
Add manpage for objfw-config check-in: 12f95ec46a user: js tags: trunk
Changes

Modified utils/Makefile from [d61df48258] to [2d2556fd18].

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
include ../extra.mk

SUBDIRS += ${OBJFW_NEW}		\
	   ${OFARC}		\
	   ${OFDNS}		\
	   ${OFHASH}		\
	   ${OFHTTP}

MAN = objfw-config.1


include ../buildsys.mk

DISTCLEAN = objfw-config

install-extra: objfw-config objfw-compile objfw-embed
	for i in objfw-config objfw-compile objfw-embed; do \








|
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include ../extra.mk

SUBDIRS += ${OBJFW_NEW}		\
	   ${OFARC}		\
	   ${OFDNS}		\
	   ${OFHASH}		\
	   ${OFHTTP}

MAN = objfw-compile.1	\
      objfw-config.1

include ../buildsys.mk

DISTCLEAN = objfw-config

install-extra: objfw-config objfw-compile objfw-embed
	for i in objfw-config objfw-compile objfw-embed; do \

Added utils/objfw-compile.1 version [7045891adc].











































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.TH OBJFW-COMPILE 1
.SH NAME
objfw-compile - compile simple projects using ObjFW
.SH SYNOPSIS
.B objfw-config
[\fBoptions\fR]
\fB\-o\fR \fIoutname\fR
\fIsources\fR
.SH DESCRIPTION
.B objfw-compile
is a program to compile simple projects using ObjFW.
.SH OPTIONS
.TP
.BR \-o " " \fIoutname\fR
Specify the output name (not the file name!).
.TP
.BR \-\-arc
Use automatic reference counting.
.TP
.BR \-\-lib " " \fIversion\fR
Compile a static library (with the specified version) instead of an application.
.TP
.BR \-\-plugin
Compile a plugin instead of an application.
.TP
.BR \-\-package " " \fIname\fR
Use the specified package.
.TP
.BR \-\-builddir " " \fIdir\fR
Place built objects into the specified directory.
.TP
.BR \-D\fIdefine\fR ", " \-D " " \fIdefine\fR
Pass the specified define to the compiler.
.TP
.BR \-framework " " \fIframework\fR
Pass the specified -framework argument to the linker (macOS / iOS only).
.TP
.BR \-f\fIflag\fR
Pass the specified -f flag to the compiler.
.TP
.BR \-F\fIdir\fR ", " \-F " " \fIdir\fR
Pass the specified -F flag to the linker (macOS / iOS only).
.TP
.BR \-g\fIflag\fR
Pass the specified -g flag to the compiler.
.TP
.BR \-I\fIdir\fR ", " \-I " " \fIdir\fR
Pass the specified -I flag to the compiler.
.TP
.BR \-l\fIlib\fR ", " \-l " " \fIlib\fR
Pass the specified -l flag to the linker.
.TP
.BR \-L\fIdir\fR ", " \-L " " \fIdir\fR
Pass the specified -L flag to the linker.
.TP
.BR \-m\fIflag\fR
Pass the specified -m flag to the compiler.
.TP
.BR \-O\fIlevel\fR
Pass the specified -O flag to the compiler.
.TP
.BR \-pthread
Pass -pthread to the compiler and linker.
.TP
.BR \-std=\fIlang\fR
Pass the specified -std= flag to the compiler.
.TP
.BR \-Wl,\fIflag\fR
Pass the specified -Wl, flag to the linker.
.TP
.BR \-W\fIwarning\fR
Pass the specified -W flag to the compiler.
.TP
.BR \-\-help
Show the help.
.SH EXAMPLES
Compile a program with two source files:
.PP
	objfw-compile -o myprog MyProg.m SomeClass.m
.PP
Compile a library with library version 1.0:
.PP
	objfw-compile --lib 1.0 -o mylib Class1.m Class2.m
.SH SEE ALSO
\fIobjfw-config\fR(1)