15 PROGS_OBJS
= $(PROGS_SRCS
:.c
=.o
)
16 CPROGS
= $(PROGS_SRCS
:.c
=)
17 PROGS
= $(CPROGS
) agsoptimize agsex
35 LIB_OBJS
= $(LIB_SRCS
:.c
=.o
)
37 CFLAGS_WARN
= -Wall
-Wextra
-Wno-unknown-pragmas
-Wno-sign-compare
46 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(CFLAGS_WARN
) -o
$@
-c
$<
49 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(CFLAGS_WARN
) -o
$@
$^
$(LDFLAGS
)
52 make
-f Makefile.binary FNAME
=agstract
53 make
-f Makefile.binary FNAME
=agspack
54 make
-f Makefile.binary FNAME
=agscriptxtract
55 make
-f Makefile.binary FNAME
=agssemble
56 make
-f Makefile.binary FNAME
=agsdisas
57 make
-f Makefile.binary FNAME
=agsinject
58 make
-f Makefile.binary FNAME
=agssim
61 rm -f
$(CPROGS
) $(LIB_OBJS
) $(PROGS_OBJS
)
66 install: $(PROGS
:%=$(DESTDIR
)$(bindir)/%)
68 $(DESTDIR
)$(bindir)/%: %
69 install -D
-m
755 $< $@