Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BUILDROOT_HOME=/home/mssiraj/buildroot-2022.02.3
- CC=$(BUILDROOT_HOME)/output/host/usr/bin/arm-linux-gcc
- CFLAGS=--sysroot=$(BUILDROOT_HOME)/output/staging
- INCLUDES=
- LFLAGS=
- LIBS=-lcurl -uClibc -lc
- SRC=requestor_guest.c
- OBJ=$(SRC:.c=.o)
- MAIN=testguest
- RM=rm -rf
- .c.o:
- $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
- $(MAIN): $(OBJ)
- $(CC) $(CFLAGS) $(INCLUDES) -o $(MAIN) $(OBJ) $(LFLAGS) $(LIBS)
- all: $(MAIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement