12 lines
182 B
Makefile
12 lines
182 B
Makefile
SOURCES = \
|
|
main.cpp
|
|
|
|
build/%.cpp.o: source/%.cpp
|
|
@mkdir -p $(@D)
|
|
$(HILBERT_CC) -c $^ -o $@
|
|
|
|
build/init.elf: $(SOURCES:%=build/%.o)
|
|
$(HILBERT_CC) $^ -o $@
|
|
|
|
clean:
|
|
rm -rf build
|