]> git.sur5r.net Git - cc65/blobdiff - src/ca65/make/gcc.mak
Added text tables
[cc65] / src / ca65 / make / gcc.mak
index 6407780dc7b580ee7d3cf5041d3b02389a25a15a..028879ff4c0595d96f72950bc443eed76525a4f1 100644 (file)
@@ -5,8 +5,9 @@
 # Library dir
 COMMON = ../common
 
-CFLAGS         = -g -O2 -Wall -I$(COMMON)
+CFLAGS         = -g -O2 -Wall -W -Wno-unused-parameter -I$(COMMON)
 CC     = gcc
+EBIND  = emxbind
 LDFLAGS        =
 
 OBJS =  condasm.o      \
@@ -14,12 +15,14 @@ OBJS =  condasm.o   \
        ea.o            \
         error.o                \
         expr.o         \
+       feature.o       \
        filetab.o       \
        fragment.o      \
         global.o               \
        incpath.o       \
         instr.o                \
        istack.o        \
+       lineinfo.o      \
        listing.o       \
        macpack.o       \
                macro.o         \
@@ -52,6 +55,7 @@ endif
 
 ca65:   $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+       @if [ $(OS2_SHELL) ] ;  then $(EBIND) $@ ; fi
 
 clean:
        rm -f *~ core *.lst