diff --git a/host/Makefile b/host/Makefile index 6ef0497..01ad3b2 100644 --- a/host/Makefile +++ b/host/Makefile @@ -1,6 +1,6 @@ #compiler flags: -Wall Warnings all, -g gdb debug markings, CFLAGS=-Wall -O -LDFLAGS= -llua -lusb-1.0 -Lsource/lua +LDFLAGS= -llua -lusb-1.0 -Lsource/lua -lm INCLUDE= -I ./include -I ../shared LDFLAGS_WINDOWS= -L ./winlib $(LDFLAGS) LDFLAGS_UNIX= -lm $(LDFLAGS) @@ -35,6 +35,9 @@ all: liblua $(DEPS) $(OBJECTS) unix: liblua $(DEPS) $(OBJECTS) $(CC) $(INCLUDE) $(OBJECTS) -o $(TARGET) $(CFLAGS) $(LDFLAGS_UNIX) +linux: + gcc source/inlprog.c source/usb_operations.c -o inlretro -lusb-1.0 -lm -L lua include + # "make debug" will build program with debug print messages # -DDEBUG show debug logs # -g build with gdb debug tags