Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEPS = remoteManagement.h libluaemb.h
- INC=-I/home/rados/workProjects/geneko-apps/common/geneko_remoteManagement/libluaemb.h
- SRCS = remoteManagement.c
- OBJS = $(SRCS:.c=.o)
- LIBS = -L./libluaemb.so -L./liblua.so
- # Cross-Compiler required
- CXX := arm-linux-gnueabihf-gcc
- # Compile flags
- CXXFLAGS:=-Wall -pedantic -Wextra -MMD -O2 -DNDEBUG
- CXXFLAGS+=-march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
- TARGET_NAME = remoteManagement
- all: $(TARGET_NAME)
- .c.o:
- $(CXX) $(CXXFLAGS) -I. -c $< -o $@
- $(TARGET_NAME): $(OBJS) $(DEPS)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(INC) -o $(TARGET_NAME)
- .PHONY: clean
- clean:
- rm -f *.o $(TARGET_NAME)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement