mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2025-01-30 14:50:10 -05:00
Makefile for win32 gtk
This commit is contained in:
parent
4a012b73a4
commit
177668a42c
26
tool/gtk/Makefile.mingw
Normal file
26
tool/gtk/Makefile.mingw
Normal file
@ -0,0 +1,26 @@
|
||||
CC=gcc
|
||||
LD=$(CC)
|
||||
|
||||
CFLAGS=-Wall -g `pkg-config --cflags gtk+-3.0 gmodule-2.0`
|
||||
LDFLAGS=`pkg-config --libs gtk+-3.0 gmodule-2.0` -lsetupapi
|
||||
|
||||
PREFIX=/usr/local
|
||||
|
||||
PROG=gcn64ctl_gui
|
||||
|
||||
OBJS=main.o ../gcn64.o ../mempak.o ../gcn64lib.o ../hexdump.o ../ihex.o ../sleep.o ../memmem.o ../hid.o
|
||||
|
||||
.PHONY : clean install
|
||||
|
||||
all: $(OBJS)
|
||||
$(LD) $(OBJS) $(LDFLAGS) -o $(PROG)
|
||||
|
||||
%.o: %.c %.h
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
rm -f *.o $(PROG)
|
||||
|
||||
install:
|
||||
@echo "Install not done yet. Sorry"
|
||||
|
Loading…
Reference in New Issue
Block a user