blob: 23256411a65893e527254b90af8bd04942a0d89d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
RM := rm
ASM := nasm
SUBDIR ?= .
TARGETS = $(patsubst %.asm,%.o,$(wildcard $(SUBDIR)/*.asm))
all: $(TARGETS)
%.o : %.asm
$(ASM) -o $@ $<
clean:
$(RM) -f $(TARGETS)
.PHONY: all clean
|