]> git.sur5r.net Git - cc65/blobdiff - src/da65/make/gcc.mak
Fix codesize setting
[cc65] / src / da65 / make / gcc.mak
index c63345c896c023bc23627823cd0afdf0a59773a2..348c5e391c413ac49df76f225e651297a9421883 100644 (file)
@@ -5,14 +5,16 @@
 # 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       \
@@ -39,6 +41,7 @@ endif
 
 da65:   $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+       @if [ $(OS2_SHELL) ] ;  then $(EBIND) $@ ; fi
 
 clean:
        rm -f *~ core *.map