Fix Linux build issues

This commit is contained in:
Sam Ellicott 2020-05-21 23:13:20 -04:00
parent 26b6173853
commit 5a6e342a23
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