(makefile) Added file deps to targets

This commit is contained in:
neauoire 2023-08-11 08:25:33 -07:00
parent 50f7a12f52
commit 2dd7ff18c3
1 changed files with 6 additions and 6 deletions

View File

@ -13,18 +13,18 @@ dest:
rom: rom:
./bin/uxnasm etc/polycat.tal bin/polycat.rom ./bin/uxnasm etc/polycat.tal bin/polycat.rom
uxnasm: uxnasm: src/uxnasm.c
cc ${RELEASE_flags} src/uxnasm.c -o bin/uxnasm cc ${RELEASE_flags} src/uxnasm.c -o bin/uxnasm
uxncli: uxncli: ${CLI_src} src/uxncli.c
gcc ${RELEASE_flags} ${CLI_src} src/uxncli.c -o bin/uxncli gcc ${RELEASE_flags} ${CLI_src} src/uxncli.c -o bin/uxncli
uxn11: uxn11: ${EMU_src} src/uxn11.c
gcc ${RELEASE_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11 gcc ${RELEASE_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11
uxnasm-debug: uxnasm-debug: src/uxnasm.c
cc ${DEBUG_flags} src/uxnasm.c -o bin/uxnasm cc ${DEBUG_flags} src/uxnasm.c -o bin/uxnasm
uxncli-debug: uxncli-debug: ${CLI_src} src/uxncli.c
gcc ${DEBUG_flags} ${CLI_src} src/uxncli.c -o bin/uxncli gcc ${DEBUG_flags} ${CLI_src} src/uxncli.c -o bin/uxncli
uxn11-debug: uxn11-debug: ${EMU_src} src/uxn11.c
gcc ${DEBUG_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11 gcc ${DEBUG_flags} ${EMU_src} src/uxn11.c -lX11 -o bin/uxn11
run: uxnasm uxncli uxn11 rom run: uxnasm uxncli uxn11 rom