12 lines
192 B
Makefile
12 lines
192 B
Makefile
|
CFLAGS ?=
|
||
|
|
||
|
SRCS=src/main.c src/gamepad.c src/panic.c
|
||
|
|
||
|
all: poormansgamepad
|
||
|
|
||
|
poormansgamepad: $(SRCS)
|
||
|
$(CC) $^ -O2 -Wall -Wpedantic $(CFLAGS) -o poormansgamepad
|
||
|
|
||
|
clean:
|
||
|
$(RM) poormansgamepad
|