13 lines
177 B
Makefile
13 lines
177 B
Makefile
CROSS_COMPILE ?=
|
|
CC := $(CROSS_COMPILE)gcc
|
|
CFLAGS += -g -Wall
|
|
LIB += -lcurl
|
|
OBG = rhost
|
|
|
|
all: rhost.o
|
|
$(CC) $(CFLAGS) $^ -o $(OBG) $(LIB)
|
|
|
|
clean:
|
|
rm -rf *.o
|
|
rm $(OBG)
|