source: trunk/emx/src/emxdoc/makefile@ 3669

Last change on this file since 3669 was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#
2# /emx/src/emxdoc/makefile
3#
4# Copyright (c) 1993-1999 by Eberhard Mattes
5#
6# This file is part of emxdoc.
7#
8# emxdoc is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12#
13# emxdoc 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 emxdoc; see the file COPYING. If not, write to the
20# Free Software Foundation, 59 Temple Place - Suite 330,
21# Boston, MA 02111-1307, USA.
22#
23
24.SUFFIXES: .c .o
25
26BIN=d:\emx\bin\ #
27
28CC=gcc
29CFLAGS=-O -Wall
30LFLAGS=-s -Zsmall-conv
31#CFLAGS=-g -Wall
32#LFLAGS=-g
33
34.c.o:
35 $(CC) $(CFLAGS) -c $<
36
37default: all
38all: emxdoc
39emxdoc: $(BIN)emxdoc.exe
40
41emxdoc.o: emxdoc.c emxdoc.h html.h ipf.h latex.h text.h xref.h cond.h
42input.o: input.c emxdoc.h cond.h
43cond.o: cond.c emxdoc.h cond.h
44html.o: html.c emxdoc.h html.h xref.h
45ipf.o: ipf.c emxdoc.h ipf.h xref.h
46latex.o: latex.c emxdoc.h latex.h
47text.o: text.c emxdoc.h lb.h text.h
48xref.o: xref.c emxdoc.h xref.h
49lb.o: lb.c lb.h
50
51$(BIN)emxdoc.exe: emxdoc.o input.o cond.o html.o ipf.o latex.o text.o \
52 xref.o lb.o
53 gcc $(LFLAGS) -o $(BIN)emxdoc.exe emxdoc.o input.o cond.o \
54 html.o ipf.o latex.o text.o xref.o lb.o
55
56
57clean:
58 -del *.o
59
60realclean: clean
61 -del $(BIN)emxdoc.exe
62
63# End of /emx/src/emxdoc/makefile
Note: See TracBrowser for help on using the repository browser.