1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-10-31 23:55:09 -04:00
gc_n64_usb-v3/tool/gtk/Makefile

27 lines
441 B
Makefile
Raw Normal View History

2015-09-12 14:11:00 -04:00
CC=gcc
LD=$(CC)
CFLAGS=-Wall -g `pkg-config --cflags hidapi-hidraw gtk+-3.0 gmodule-2.0`
LDFLAGS=`pkg-config --libs hidapi-hidraw gtk+-3.0 gmodule-2.0`
PREFIX=/usr/local
PROG=gcn64ctl_gui
2015-10-15 23:40:11 -04:00
OBJS=main.o ../gcn64.o ../mempak.o ../gcn64lib.o ../hexdump.o
2015-09-12 14:11:00 -04:00
.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"