-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
executable file
·34 lines (29 loc) · 863 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
################################################################################
# Author: SONIC3D
# E-mail: sonic3d@gmail.com
# 2020.May.12
#
# makefile template for WonderSwan application
#
# usage:
# make all
# make clean
#
################################################################################
.SUFFIXES: .bin .obj .p86 .a86 .c
NASM=nasm
RM=rm # set RM=del on windows
all: puzzle_bobble_j_sram.ws
@echo done
clean:
RM puzzle_bobble_j_sram.ws
# $< the first prerequisite
# $@ is the name of the file being generated
# For example, consider the following declaration:
# all: library.cpp main.cpp
# In this case:
# $@ evaluates to all
# $< evaluates to library.cpp
# $^ evaluates to library.cpp main.cpp
puzzle_bobble_j_sram.ws: main_puzzle_bobble_j.asm Puzzle\ Bobble\ (Japan).ws
NASM -f bin -o $@ main_puzzle_bobble_j.asm