Makefile for win32 gtk

This commit is contained in:
Raphael Assenat 2015-10-24 22:09:51 -04:00
parent 4a012b73a4
commit 177668a42c
1 changed files with 26 additions and 0 deletions

26
tool/gtk/Makefile.mingw Normal file
View 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"