Merge pull request #107 from CaiB/master

Fix a few build issues on Linux
This commit is contained in:
CNLohr 2020-05-21 20:37:25 -07:00 committed by GitHub
commit f1eb47d0aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
#include <math.h>
#include <string.h>
#include "color.h"
#include "DrawFunctions.h"
#include "CNFG.h"
#include <sys/mman.h>
#include <sys/stat.h> /* For mode constants */
#include <fcntl.h> /* For O_* constants */

View file

@ -8,7 +8,7 @@
#include <math.h>
#include <string.h>
#include "color.h"
#include "DrawFunctions.h"
#include "CNFG.h"
#include <sys/mman.h>
#include <sys/stat.h> /* For mode constants */
#include <fcntl.h> /* For O_* constants */

View file

@ -17,7 +17,7 @@ EXTRALIBS:=-lusb-1.0
OBJS:=main.o dft.o decompose.o filter.o color.o notefinder.o util.o outdrivers.o $(OUTS) parameters.o chash.o hook.o ../embeddedcommon/DFT32.o configs.o
colorchord : $(OBJS)
gcc -o $@ $^ $(CFLAGS) $(LDLIBS) $(EXTRALIBS) $(RAWDRAWLIBS)
cc -o $@ $^ $(CFLAGS) $(LDLIBS) $(EXTRALIBS) $(RAWDRAWLIBS)
colorchord.exe : main.c dft.c decompose.c filter.c color.c notefinder.c util.c outdrivers.c parameters.c chash.c OutputVoronoi.c OutputProminent.c DisplayArray.c OutputLinear.c DisplayPie.c DisplayNetwork.c hook.c RecorderPlugin.c ../embeddedcommon/DFT32.c OutputCells.c configs.c hidapi.c DisplayHIDAPI.c