|
Last change
on this file since 175 was 57, checked in by bird, 22 years ago |
|
Config & adjustments for OS/2 LIBC. dllshell.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
625 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile.OS2.libc 57 2003-11-23 22:38:39Z bird $
|
|---|
| 2 |
|
|---|
| 3 | OBJDIR = objdir/OS2.libc
|
|---|
| 4 | OBJDIR = .
|
|---|
| 5 | SRC = ar.c arscan.c commands.c default.c dir.c expand.c file.c \
|
|---|
| 6 | function.c implicit.c job.c main.c \
|
|---|
| 7 | misc.c read.c remake.c rule.c signame.c \
|
|---|
| 8 | variable.c version.c vpath.c hash.c \
|
|---|
| 9 | getopt.c getopt1.c remote-stub.c
|
|---|
| 10 | CFLAGS = -Zomf -g -DMAKE_DLLSHELL -Wall
|
|---|
| 11 | ifndef DEBUG
|
|---|
| 12 | CFLAGS += -O3
|
|---|
| 13 | endif
|
|---|
| 14 |
|
|---|
| 15 | all: $(OBJDIR) make-new.exe
|
|---|
| 16 |
|
|---|
| 17 | make-new.exe: config.h $(addprefix $(OBJDIR)/, $(SRC:.c=.obj))
|
|---|
| 18 | gcc -g $(CFLAGS) -Zhigh-mem -Zstack 1024 -o $@ $(SRC:.c=.obj) -ldl
|
|---|
| 19 |
|
|---|
| 20 | .c.obj:
|
|---|
| 21 | gcc -c $(CFLAGS) -o $@ -DHAVE_CONFIG_H $<
|
|---|
| 22 |
|
|---|
| 23 | config.h: config.h.OS2.libc
|
|---|
| 24 | cp $< $@
|
|---|
| 25 |
|
|---|
| 26 | $(OBJDIR):
|
|---|
| 27 | mkdir -p $@
|
|---|
| 28 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.