1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00

Changed the makefiles to work under OS/2 using EMX (Changes from

Mirco Miranda).


git-svn-id: svn://svn.cc65.org/cc65/trunk@590 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-01-05 16:59:41 +00:00
parent 1ecd742496
commit 1bb9d0fa70
8 changed files with 17 additions and 0 deletions

View File

@ -7,8 +7,10 @@ COMMON = ../common
CFLAGS = -g -O2 -Wall -I$(COMMON)
CC = gcc
EBIND = emxbind
LDFLAGS =
OBJS = add.o \
del.o \
error.o \
@ -40,6 +42,7 @@ endif
ar65: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
clean:
rm -f *~ core

View File

@ -7,6 +7,7 @@ COMMON = ../common
CFLAGS = -g -O2 -Wall -I$(COMMON)
CC = gcc
EBIND = emxbind
LDFLAGS =
OBJS = condasm.o \
@ -53,6 +54,7 @@ endif
ca65: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
clean:
rm -f *~ core *.lst

View File

@ -10,6 +10,7 @@ COMMON = ../common
CDEFS=-DCC65_INC=\"/usr/lib/cc65/include/\"
CFLAGS = -O2 -g -Wall -I$(COMMON) $(CDEFS)
CC=gcc
EBIND=emxbind
LDFLAGS=
OBJS = anonname.o \
@ -67,6 +68,7 @@ endif
cc65: $(OBJS)
$(CC) $(LDFLAGS) -o cc65 $(CFLAGS) $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) cc65 ; fi
clean:
rm -f *~ core *.map

View File

@ -7,6 +7,7 @@ COMMON = ../common
CC=gcc
CFLAGS = -O2 -g -Wall -I$(COMMON)
EBIND = emxbind
LDFLAGS=
OBJS = error.o \
@ -31,6 +32,7 @@ endif
cl65: $(OBJS) $(LIBS)
$(CC) $(LDFLAGS) -o cl65 $(CFLAGS) $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) cl65 ; fi
clean:
rm -f *~ core

View File

@ -7,6 +7,7 @@ COMMON = ../common
CFLAGS = -g -O2 -Wall -I$(COMMON)
CC=gcc
EBIND=emxbind
LDFLAGS=
OBJS = attrtab.o \
@ -40,6 +41,7 @@ endif
da65: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
clean:
rm -f *~ core *.map

View File

@ -5,6 +5,7 @@
CFLAGS = -g -O2 -Wall
CC = gcc
LDFLAGS =
EBIND = emxbind
OBJS = grc.o
@ -23,6 +24,7 @@ endif
grc: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
clean:
rm -f *~ core *.lst

View File

@ -9,6 +9,7 @@ COMMON = ../common
CDEFS=-DCC65_LIB=\"/usr/lib/cc65/lib/\"
CFLAGS = -g -O2 -Wall -I$(COMMON) $(CDEFS)
CC=gcc
EBIND=emxbind
LDFLAGS=
# Perl script for config file conversion
@ -74,6 +75,7 @@ endif
ld65: $(INCS) $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
inc: $(INCS)

View File

@ -8,6 +8,7 @@ COMMON = ../common
CFLAGS = -O2 -g -Wall -I$(COMMON)
CC=gcc
EBIND=emxbind
LDFLAGS=
OBJS = dump.o \
@ -33,6 +34,7 @@ endif
$(EXE): $(OBJS)
$(CC) $(LDFLAGS) -o $(EXE) $(CFLAGS) $(OBJS) $(LIBS)
@if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi
clean:
rm -f *~ core *.map