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