source:
trunk/emx/src/emxupd/makefile@
2562
| Last change on this file since 2562 was 18, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 1.1 KB | |
| Line | |
|---|---|
| 1 | # |
| 2 | # /emx/src/emxupd/makefile |
| 3 | # |
| 4 | # Copyright (c) 1996 by Eberhard Mattes |
| 5 | # |
| 6 | # This file is part of emxupd. |
| 7 | # |
| 8 | # emxupd 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 | # emxupd 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 emxupd; 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 | BIN=/emx/bin/ |
| 25 | |
| 26 | CC=gcc |
| 27 | CFLAGS=-O -Zomf -Zsys -Wall |
| 28 | LFLAGS=-s -Zsmall-conv $(CFLAGS) |
| 29 | |
| 30 | default: all |
| 31 | all: emxupd |
| 32 | emxupd: $(BIN)emxupd.exe |
| 33 | |
| 34 | emxupd.obj: emxupd.c |
| 35 | $(CC) $(CFLAGS) -c emxupd.c |
| 36 | |
| 37 | $(BIN)emxupd.exe: emxupd.obj |
| 38 | $(CC) $(LFLAGS) -o $(BIN)emxupd.exe emxupd.obj |
| 39 | |
| 40 | clean: |
| 41 | -rm *.obj |
| 42 | |
| 43 | realclean: clean |
| 44 | -rm $(BIN)emxupd.exe |
| 45 | |
| 46 | # End of /emx/src/emxupd/makefile |
Note:
See TracBrowser
for help on using the repository browser.
