2011-12-05 11:19:05 +00:00
|
|
|
#INCLUDES = -I$(top_srcdir)
|
2011-12-01 19:43:45 +00:00
|
|
|
|
2011-12-15 15:53:33 +00:00
|
|
|
noinst_PROGRAMS = rufus rufus_fd
|
2011-12-01 19:43:45 +00:00
|
|
|
|
|
|
|
pkg_v_rc = $(pkg_v_rc_$(V))
|
|
|
|
pkg_v_rc_ = $(pkg_v_rc_$(AM_DEFAULT_VERBOSITY))
|
|
|
|
pkg_v_rc_0 = @echo " RC $@";
|
|
|
|
|
2011-12-15 15:53:33 +00:00
|
|
|
# NB: There's a good reason we don't do something more elegant than copy/paste for _fd
|
|
|
|
rufus_rc.o: rufus.rc
|
2011-12-05 00:04:01 +00:00
|
|
|
$(pkg_v_rc)$(WINDRES) -i $< -o $@
|
2011-12-01 19:43:45 +00:00
|
|
|
|
2011-12-15 15:53:33 +00:00
|
|
|
rufus_fd_rc.o: rufus.rc
|
|
|
|
$(pkg_v_rc)$(WINDRES) -DWITH_FREEDOS -i $< -o $@
|
|
|
|
|
2011-12-21 00:53:31 +00:00
|
|
|
rufus_SOURCES = fat12.c fat16.c fat32.c partition_info.c br.c file.c drive.c dos.c dos_locale.c badblocks.c format.c stdio.c stdlg.c rufus.c
|
|
|
|
rufus_CFLAGS = -I./inc $(AM_CFLAGS)
|
2011-12-05 11:19:05 +00:00
|
|
|
rufus_LDFLAGS = $(AM_LDFLAGS) -mwindows
|
2011-12-01 19:43:45 +00:00
|
|
|
rufus_LDADD = rufus_rc.o -lsetupapi -lole32 -lgdi32
|
2011-12-15 15:53:33 +00:00
|
|
|
|
2011-12-21 00:53:31 +00:00
|
|
|
rufus_fd_SOURCES = fat12.c fat16.c fat32.c partition_info.c br.c file.c drive.c dos.c dos_locale.c badblocks.c format.c stdio.c stdlg.c rufus.c
|
|
|
|
rufus_fd_CFLAGS = -I./inc $(AM_CFLAGS)
|
2011-12-15 15:53:33 +00:00
|
|
|
rufus_fd_LDFLAGS = $(AM_LDFLAGS) -mwindows
|
|
|
|
rufus_fd_LDADD = rufus_fd_rc.o -lsetupapi -lole32 -lgdi32
|