]> Shamusworld >> Repos - thunder/blobdiff - makefile
Code cleanup.
[thunder] / makefile
old mode 100755 (executable)
new mode 100644 (file)
index 4b5bfdf..5f21739
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
 #
 # Makefile for Thunder SDL
 #
-# by James L. Hammons
+# by James Hammons
 # (C) 2009 Underground Software
 # This software is licensed under the GPL v3 or later
 #
@@ -26,7 +26,7 @@ ICON       =
 SDLLIBTYPE = --static-libs
 MSG        = Mac OS X
 
-else                                                                                   # *nix
+else   # *nix
 
 SYSTYPE    = __GCCUNIX__
 EXESUFFIX  =
@@ -56,10 +56,13 @@ LIBS = -L/usr/local/lib `sdl-config $(SDLLIBTYPE)` -lstdc++ -lz $(GLLIB) -lcurse
 INCS = -I. -Isrc -I/usr/local/include
 
 OBJS = \
+       obj/dis6808.o  \
+       obj/dis6809.o  \
        obj/gui.o      \
        obj/log.o      \
        obj/resource.o \
        obj/screen.o   \
+       obj/v6808.o    \
        obj/v6809.o    \
        obj/thunder.o  \
        $(ICON)
@@ -117,9 +120,8 @@ obj/%.o: src/%.cpp
        @$(CC) $(CPPFLAGS) $(INCS) -c $< -o $@
 
 obj/%.o: src/%.asm
-       nasm -f elf32 -I res/ $< -o $@
-# *** sigh *** yet another variable... !!! FIX !!!
-#      nasm -f coff $< -o $@
+       @echo -e "\033[01;33m***\033[00;32m Assembling $<...\033[00m"
+       @nasm -f elf64 -I ./res/ $< -o $@
 
 $(TARGET)$(EXESUFFIX): $(OBJS)
        @echo -e "\033[01;33m***\033[00;32m Linking it all together...\033[00m"