]> git.sur5r.net Git - cc65/blobdiff - src/da65/make/gcc.mak
Base code for handling different CPUs, more improvements
[cc65] / src / da65 / make / gcc.mak
index 47af383ac55fb15bfb3c9d34f6af9287e1e8a7fa..9f98eee83b3c37ce550d7f490b2ec58767d8ba3d 100644 (file)
@@ -5,18 +5,23 @@
 # Library dir
 COMMON = ../common
 
-CFLAGS = -g -O2 -Wall -I$(COMMON)
+CFLAGS = -g -O2 -Wall -W -I$(COMMON)
 CC=gcc
+EBIND=emxbind
 LDFLAGS=
 
 OBJS =         attrtab.o       \
        code.o          \
        config.o        \
-       cpu.o           \
+       data.o          \
        error.o         \
        global.o        \
        handler.o       \
        main.o          \
+        opc6502.o       \
+        opc65816.o      \
+        opc65c02.o      \
+        opc65sc02.o     \
        opctable.o      \
        output.o        \
        scanner.o
@@ -32,13 +37,14 @@ all : $(EXECS)
 include .depend
 else
 all:   depend
-       @$(MAKE) -f make/gcc.mak all
+       @$(MAKE) -f make/gcc.mak all
 endif
 
 
 
 da65:   $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+       @if [ $(OS2_SHELL) ] ;  then $(EBIND) $@ ; fi
 
 clean:
        rm -f *~ core *.map