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