11 lines
176 B
Makefile
11 lines
176 B
Makefile
|
CC = arm-linux-g++
|
||
|
EXEC = hello
|
||
|
OBJS = hello.o
|
||
|
CFLAGS +=
|
||
|
LDFLAGS+= -static
|
||
|
all: $(EXEC)
|
||
|
$(EXEC): $(OBJS)
|
||
|
$(CC) $(LDFLAGS) -o $@ $(OBJS)
|
||
|
clean:
|
||
|
-rm -f $(EXEC) *.elf *.gdb *.o
|