mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
15 lines
281 B
Makefile
15 lines
281 B
Makefile
.phony: all install
|
|
CC=x86_64-astral-gcc
|
|
LD=x86_64-astral-gcc
|
|
all: astral-prof
|
|
|
|
install:
|
|
mkdir -p "$(DESTDIR)/$(PREFIX)/bin/"
|
|
cp astral-prof "$(DESTDIR)/$(PREFIX)/bin/astral-prof"
|
|
|
|
astral-prof: main.o
|
|
$(LD) $(LDFLAGS) -g -o $@ $^
|
|
|
|
main.o: main.c
|
|
$(CC) -c $(CFLAGS) -g -o $@ $<
|