12 lines
197 B
Makefile

CFLAGS ?=
SRCS=src/main.c src/gamepad.c src/panic.c
all: poormansgamepad
poormansgamepad: $(SRCS)
$(CC) $(SRCS) -O2 -Wall -Wpedantic $(CFLAGS) -o poormansgamepad
clean:
rm -f poormansgamepad