13 lines
182 B
Makefile
13 lines
182 B
Makefile
|
cc = gcc
|
||
|
CFLAGS += -W -Wall
|
||
|
|
||
|
BINARY = oga_controls
|
||
|
LIBRARIES = -levdev -lSDL2
|
||
|
SOURCES = "main.c"
|
||
|
|
||
|
all:
|
||
|
$(CC) $(CFLAGS) $(SOURCES) -o $(BINARY) $(LIBRARIES)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(BINARY)
|