]> git.sur5r.net Git - cc65/blobdiff - src/da65/make/watcom.mak
Makefile cleanup. Among other things, allow use of the --as-needed linker flag
[cc65] / src / da65 / make / watcom.mak
index b288cb8caeca75a64d8d296e8308aa0326dc5c54..8c9479209add49949e3cacdd2ea91459ab722fce 100644 (file)
@@ -10,13 +10,14 @@ export WATCOM  = c:\\watcom
 export INCLUDE = $(WATCOM)\\h
 
 # We will use the windows compiler under linux (define as empty for windows)
+export WINEDEBUG=fixme-all
 WINE = wine
 
 # Programs
 AR             = $(WINE) WLIB
 CC      = $(WINE) WCC386
 LD             = $(WINE) WLINK
-WSTRIP = $(WINE) WSTRIP
+WSTRIP = $(WINE) WSTRIP -q
 
 LNKCFG  = ld.tmp
 
@@ -59,13 +60,16 @@ endif
 # ------------------------------------------------------------------------------
 # All OBJ files
 
-OBJS =         attrtab.obj     \
+OBJS =         asminc.obj      \
+        attrtab.obj    \
        code.obj        \
+        comments.obj    \
        data.obj        \
        error.obj       \
        global.obj      \
        handler.obj     \
        infofile.obj    \
+        labels.obj      \
        main.obj        \
         opc6502.obj     \
         opc65816.obj    \
@@ -73,7 +77,8 @@ OBJS =        attrtab.obj     \
         opc65sc02.obj   \
        opctable.obj    \
        output.obj      \
-       scanner.obj
+       scanner.obj     \
+        segment.obj
 
 
 LIBS = ../common/common.lib