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:
parent
1ecd742496
commit
1bb9d0fa70
@ -7,8 +7,10 @@ COMMON = ../common
|
|||||||
|
|
||||||
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
EBIND = emxbind
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
|
|
||||||
OBJS = add.o \
|
OBJS = add.o \
|
||||||
del.o \
|
del.o \
|
||||||
error.o \
|
error.o \
|
||||||
@ -40,6 +42,7 @@ endif
|
|||||||
|
|
||||||
ar65: $(OBJS) $(LIBS)
|
ar65: $(OBJS) $(LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core
|
rm -f *~ core
|
||||||
|
@ -7,6 +7,7 @@ COMMON = ../common
|
|||||||
|
|
||||||
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
EBIND = emxbind
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
OBJS = condasm.o \
|
OBJS = condasm.o \
|
||||||
@ -53,6 +54,7 @@ endif
|
|||||||
|
|
||||||
ca65: $(OBJS) $(LIBS)
|
ca65: $(OBJS) $(LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core *.lst
|
rm -f *~ core *.lst
|
||||||
|
@ -10,6 +10,7 @@ COMMON = ../common
|
|||||||
CDEFS=-DCC65_INC=\"/usr/lib/cc65/include/\"
|
CDEFS=-DCC65_INC=\"/usr/lib/cc65/include/\"
|
||||||
CFLAGS = -O2 -g -Wall -I$(COMMON) $(CDEFS)
|
CFLAGS = -O2 -g -Wall -I$(COMMON) $(CDEFS)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
EBIND=emxbind
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
OBJS = anonname.o \
|
OBJS = anonname.o \
|
||||||
@ -67,6 +68,7 @@ endif
|
|||||||
|
|
||||||
cc65: $(OBJS)
|
cc65: $(OBJS)
|
||||||
$(CC) $(LDFLAGS) -o cc65 $(CFLAGS) $(OBJS) $(LIBS)
|
$(CC) $(LDFLAGS) -o cc65 $(CFLAGS) $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) cc65 ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core *.map
|
rm -f *~ core *.map
|
||||||
|
@ -7,6 +7,7 @@ COMMON = ../common
|
|||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS = -O2 -g -Wall -I$(COMMON)
|
CFLAGS = -O2 -g -Wall -I$(COMMON)
|
||||||
|
EBIND = emxbind
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
OBJS = error.o \
|
OBJS = error.o \
|
||||||
@ -31,6 +32,7 @@ endif
|
|||||||
|
|
||||||
cl65: $(OBJS) $(LIBS)
|
cl65: $(OBJS) $(LIBS)
|
||||||
$(CC) $(LDFLAGS) -o cl65 $(CFLAGS) $(OBJS) $(LIBS)
|
$(CC) $(LDFLAGS) -o cl65 $(CFLAGS) $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) cl65 ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core
|
rm -f *~ core
|
||||||
|
@ -7,6 +7,7 @@ COMMON = ../common
|
|||||||
|
|
||||||
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
CFLAGS = -g -O2 -Wall -I$(COMMON)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
EBIND=emxbind
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
OBJS = attrtab.o \
|
OBJS = attrtab.o \
|
||||||
@ -40,6 +41,7 @@ endif
|
|||||||
|
|
||||||
da65: $(OBJS) $(LIBS)
|
da65: $(OBJS) $(LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core *.map
|
rm -f *~ core *.map
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
CFLAGS = -g -O2 -Wall
|
CFLAGS = -g -O2 -Wall
|
||||||
CC = gcc
|
CC = gcc
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
EBIND = emxbind
|
||||||
|
|
||||||
OBJS = grc.o
|
OBJS = grc.o
|
||||||
|
|
||||||
@ -23,6 +24,7 @@ endif
|
|||||||
|
|
||||||
grc: $(OBJS) $(LIBS)
|
grc: $(OBJS) $(LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core *.lst
|
rm -f *~ core *.lst
|
||||||
|
@ -9,6 +9,7 @@ COMMON = ../common
|
|||||||
CDEFS=-DCC65_LIB=\"/usr/lib/cc65/lib/\"
|
CDEFS=-DCC65_LIB=\"/usr/lib/cc65/lib/\"
|
||||||
CFLAGS = -g -O2 -Wall -I$(COMMON) $(CDEFS)
|
CFLAGS = -g -O2 -Wall -I$(COMMON) $(CDEFS)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
EBIND=emxbind
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
# Perl script for config file conversion
|
# Perl script for config file conversion
|
||||||
@ -74,6 +75,7 @@ endif
|
|||||||
|
|
||||||
ld65: $(INCS) $(OBJS) $(LIBS)
|
ld65: $(INCS) $(OBJS) $(LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
|
||||||
|
|
||||||
inc: $(INCS)
|
inc: $(INCS)
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ COMMON = ../common
|
|||||||
|
|
||||||
CFLAGS = -O2 -g -Wall -I$(COMMON)
|
CFLAGS = -O2 -g -Wall -I$(COMMON)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
EBIND=emxbind
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
OBJS = dump.o \
|
OBJS = dump.o \
|
||||||
@ -33,6 +34,7 @@ endif
|
|||||||
|
|
||||||
$(EXE): $(OBJS)
|
$(EXE): $(OBJS)
|
||||||
$(CC) $(LDFLAGS) -o $(EXE) $(CFLAGS) $(OBJS) $(LIBS)
|
$(CC) $(LDFLAGS) -o $(EXE) $(CFLAGS) $(OBJS) $(LIBS)
|
||||||
|
@if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ core *.map
|
rm -f *~ core *.map
|
||||||
|
Loading…
x
Reference in New Issue
Block a user