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

Last change on this file since 3669 was 18, checked in by bird, 23 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.3 KB
Line 
1#
2# /emx/src/emxload/makefile
3#
4# Copyright (c) 1993-1998 by Eberhard Mattes
5#
6# This file is part of emxload.
7#
8# emxload 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# emxload 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 emxload; 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# Note: Unset GCCLOAD and run "emxload -q" before compiling emxload!
25#
26
27BIN=/emx/bin/
28I=d:/emx/include/
29
30CC=gcc
31CFLAGS=-Zomf -Zmt -Zcrtdll -O -Wall -I../include
32
33default: all
34all: emxload
35emxload: $(BIN)emxload.exe
36
37emxload.obj: emxload.c $(I)emx/emxload.h
38 $(CC) $(CFLAGS) -c emxload.c
39
40$(BIN)emxload.exe: emxload.obj
41 -emxload -qw
42 $(CC) $(CFLAGS) -o $(BIN)emxload.exe -s emxload.obj
43
44clean:
45 -rm *.obj
46
47realclean: clean
48 -rm $(BIN)emxload.exe
49
50# End of /emx/src/emxload/makefile
Note: See TracBrowser for help on using the repository browser.