aboutsummaryrefslogtreecommitdiff
path: root/software/helloworld/makefile
blob: 0cd6c19ba2e01d7bd3af2ca0279a12b32a1463cb (plain)
1
2
3
4
5
6
7
8
9
10
11
CC = $(CROSS_COMPILE)gcc

LFLAGS += -lc

helloworld: main.c
	$(CC) $^ $(CFLAGS) $(LFLAGS) -o $@

.PHONY: clean
clean:
	$(RM) helloworld