22 lines
391 B
Diff
22 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
|