16 lines
245 B
Makefile
16 lines
245 B
Makefile
|
# Makefile for SFL examples
|
||
|
|
||
|
SOURCES = $(wildcard *.asm)
|
||
|
OBJS = $(SOURCES:.asm=.o)
|
||
|
EXECS = $(patsubst %.asm,%.runme,$(SOURCES))
|
||
|
all: $(EXECS)
|
||
|
|
||
|
%.o: %.asm
|
||
|
nasm -g -f elf64 $<
|
||
|
|
||
|
%.runme: %.o
|
||
|
ld -s -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *.runme sre_examples
|