blob: f0de8ffca59fc4757711fd0eaa6dc25622f42b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
ASM_SOURCES := main.s
# This is to appease Makefile.rules, there is no main.c
C_SOURCES := main.c
ASM_OBJS := $(ASM_SOURCES:.s=.o)
%.o: %.s
$(CC) -c -x assembler $< -o $@
include Makefile.rules
|