1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-21 23:08:53 -05:00
gc_n64_usb-v3/tool/Makefile
Raphael Assenat 0627841025 Channels for raw SI commands
Configurable poll interval
2015-09-09 21:41:41 -04:00

27 lines
373 B
Makefile

CC=gcc
LD=$(CC)
CFLAGS=-Wall -g `pkg-config hidapi-hidraw --cflags`
LDFLAGS=`pkg-config hidapi-hidraw --libs`
PREFIX=/usr/local
PROG=gcn64ctl
OBJS=main.o gcn64.o mempak.o gcn64lib.o
.PHONY : clean install
all: $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $(PROG)
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o $(PROG)
install:
@echo "Install not done yet. Sorry"