13 PROGS_OBJS
= $(PROGS_SRCS
:.c
=.o
)
14 PROGS
= $(PROGS_SRCS
:.c
=) agsoptimize agsex
28 LIB_OBJS
= $(LIB_SRCS
:.c
=.o
)
30 CFLAGS_WARN
= -Wall
-Wextra
-Wno-unknown-pragmas
-Wno-sign-compare
39 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(CFLAGS_WARN
) -o
$@
-c
$<
42 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(CFLAGS_WARN
) -o
$@
$^
$(LDFLAGS
)
45 make
-f Makefile.binary FNAME
=agstract
46 make
-f Makefile.binary FNAME
=agspack
47 make
-f Makefile.binary FNAME
=agscriptxtract
48 make
-f Makefile.binary FNAME
=agssemble
49 make
-f Makefile.binary FNAME
=agsdisas
50 make
-f Makefile.binary FNAME
=agsinject
51 make
-f Makefile.binary FNAME
=agssim
54 rm -f
$(PROGS
) $(LIB_OBJS
) $(PROGS_OBJS
)
59 install: $(PROGS
:%=$(DESTDIR
)$(bindir)/%)
61 $(DESTDIR
)$(bindir)/%: %
62 install -D
-m
755 $< $@