From 77bfd163cd2460b46d4e31b17eb5e5e7ec6ab8aa Mon Sep 17 00:00:00 2001 From: mrdudz Date: Fri, 16 Oct 2020 15:50:18 +0200 Subject: [PATCH] makefile cleanup --- targettest/gamate/Makefile | 9 --------- targettest/pce/Makefile | 7 ++----- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/targettest/gamate/Makefile b/targettest/gamate/Makefile index 6cd9a3cdb..a14b8a854 100644 --- a/targettest/gamate/Makefile +++ b/targettest/gamate/Makefile @@ -39,15 +39,6 @@ nachtm.bin: nachtm.c $(CL) -Os -l nachtm.lst -t gamate -o nachtm.bin nachtm.c gamate-fixcart nachtm.bin -test1: lcdtest.bin - cd ~/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart ~/Desktop/cc65/github/cc65/testcode/lib/gamate/lcdtest.bin -test2: audiotest.bin - cd ~/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart ~/Desktop/cc65/github/cc65/testcode/lib/gamate/audiotest.bin -testc: ctest.bin - cd ~/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart ~/Desktop/cc65/github/cc65/testcode/lib/gamate/ctest.bin -testn: nachtm.bin - cd ~/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart ~/Desktop/cc65/github/cc65/testcode/lib/gamate/nachtm.bin - clean: @$(DEL) lcdtest.o audiotest.o ctest.o 2>$(NULLDEV) @$(DEL) lcdtest.bin audiotest.bin ctest.bin nachtm.bin 2>$(NULLDEV) diff --git a/targettest/pce/Makefile b/targettest/pce/Makefile index f7b828e92..1ecc0566f 100644 --- a/targettest/pce/Makefile +++ b/targettest/pce/Makefile @@ -48,11 +48,8 @@ all: conio.pce dd if=$< bs=8K skip=${COUNT} > $@ dd if=$< bs=8K count=${COUNT} >> $@ -%.bin: %.c ../../../lib/pce.lib - ../../../bin/cl65 -t pce $< -Wl -D__CARTSIZE__=${CARTSIZE} -m $*.map -o $@ +%.bin: %.c + $(CL) -t pce $< -Wl -D__CARTSIZE__=${CARTSIZE} -m $*.map -o $@ clean: @$(DEL) conio.o conio.??? 2>$(NULLDEV) - -test: conio.pce - mednafen -force_module pce $<