summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 594d5ee..0000000
--- a/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-CFLAGS=-O2
-CFLAGS+=-g -Wall -Werror
-#
-# Detect if we're on windows or linux:
-#
-ifeq ($(OS),Windows_NT)
- CC=g++
- CFLAGS+=
- LIBS+=-static-libgcc -lsetupapi
- EXE=.exe
-else
- CC=gcc
- CFLAGS+=`pkg-config --cflags libudev`
- LIBS+=`pkg-config --libs libudev`
- EXE=
-endif
-
-all:
- ${CC} ${CFLAGS} test/test.c libusbhp/libusbhp.c -o detect${EXE} ${LIBS}