clean target

This commit is contained in:
Raphaël Assénat 2015-11-03 09:23:09 -05:00
parent 76b5f386ff
commit 1493a007de
1 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,12 @@ GTK_LDFLAGS=`pkg-config --libs gtk+-3.0 gmodule-2.0`
PREFIX=/usr/local
PROGS=gcn64ctl mempak_ls mempak_format mempak_extract_note mempak_insert_note mempak_rm mempak_convert gcn64ctl_gui
MEMPAKLIB_OBJS=mempak.o mempak_fs.o
.PHONY : clean install
all: gcn64ctl mempak_ls mempak_format mempak_extract_note mempak_insert_note mempak_rm mempak_convert gcn64ctl_gui
all: $(PROGS)
gcn64ctl_gui: gcn64ctl_gui.o gcn64ctl_gui_mpkedit.o gcn64.o gcn64lib.o hexdump.o ihex.o mempak_gcn64usb.o $(COMPAT_OBJS) $(MEMPAKLIB_OBJS)
$(LD) $^ $(LDFLAGS) $(GTK_LDFLAGS) -o $@
@ -61,7 +62,7 @@ mempak_format: mempak_format.o $(MEMPAKLIB_OBJS)
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o gcn64ctl gcn64ctl_gui gcn64ctl.exe gcn64ctl_gui.exe
rm -f *.o *.exe $(PROGS)
install:
@echo "Install not done yet. Sorry"