distribution/packages/sysutils/hid_mapper/patches/hid_mapper-01_crosscompile.patch
2022-02-05 09:23:32 -05:00

21 lines
391 B
Diff

diff --git a/Makefile b/Makefile
index f98abbd..9d1d524 100755
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,13 @@ EXEC=hid_mapper
VERSION=1.0
all: $(OBJS)
- g++ $(LDFLAGS) $(OBJS) -o $(EXEC)
+ ${CXX} $(LDFLAGS) $(OBJS) -o $(EXEC)
%.o: %.cpp
- g++ -c $(CPPFLAGS) $<
+ ${CXX} -c $(CPPFLAGS) $<
%.o: %.c
- gcc -c $(CFLAGS) $<
+ ${CC} -c $(CFLAGS) $<
deb:
cp $(EXEC) package/usr/bin