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

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

Shortcuts.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1ifndef OLD_EMX_MAKEFILE
2.c.o:
3 $(MAKE) -C ../.. OPT=dbg out/dbg/omf/src/emxexp/$@
4else
5#
6# /emx/src/emxexp/makefile
7#
8# Copyright (c) 1993-1998 by Eberhard Mattes
9#
10# This file is part of emxexp.
11#
12# emxexp is free software; you can redistribute it and/or modify it
13# under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2, or (at your option)
15# any later version.
16#
17# emxexp is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with emxexp; see the file COPYING. If not, write to the
24# Free Software Foundation, 59 Temple Place - Suite 330,
25# Boston, MA 02111-1307, USA.
26#
27
28BIN=/emx/bin/
29
30DEFS_H=../include/defs.h
31OMFLIB_H=d:/emx/include/sys/omflib.h
32
33OMFLIB=d:/emx/lib/omflib.a
34
35CC=gcc
36CFLAGS=-O -Wall -I../include -I.
37LFLAGS=-s -Zsmall-conv
38
39default: all
40all: emxexp
41emxexp: $(BIN)emxexp.exe
42
43emxexp.o: emxexp.c $(DEFS_H) $(OMFLIB_H)
44 $(CC) $(CFLAGS) -c emxexp.c
45
46cplus-de.o: cplus-de.c demangle.h ansidecl.h libibert.h
47 $(CC) $(CFLAGS) -c cplus-de.c
48
49$(BIN)emxexp.exe: emxexp.o cplus-de.o $(OMFLIB)
50 $(CC) $(LFLAGS) -o $(BIN)emxexp.exe emxexp.o cplus-de.o $(OMFLIB)
51
52clean:
53 -rm *.o
54
55realclean: clean
56 -rm $(BIN)emxexp.exe
57
58# End of /emx/src/emxexp/makefile
59endif
Note: See TracBrowser for help on using the repository browser.