#	Makefile overrides 2.1 90/07/18
CC	= %%CC%%
CFLAGS	= %%CCFLAGS%% '-DLIBDIR="%%LIBDIR%%"' -I../
FONTDIR = %%FONTDIR%%
LIBDIR	= %%LIBDIR%%
LIBFLAGS = %%LIBFLAGS%%
LJF	= %%LJF%%
MANDIR = %%MANDIR%%
RTMACDIR = %%RTMACDIR%%
PKFONTS	= %%PKFONTS%%
SFP2PK	= %%SFP2PK%%
NEWFONTS = %%NEWFONTS%%
IGNORESH = %%IGNORESH%%

#	This override is because apparently a .s suffix on a file will
#	cause make to not select a ".S:" rule when the target is .s
.SUFFIXES:
.SUFFIXES: .o .c .c~ .h .h~ .lib .lib~ .fonts .fonts~ .ps .ps~ .S .S~

.lib~.lib:
	$(GET) $(GFLAGS) s.$@

.fonts~.fonts:
	$(GET) $(GFLAGS) s.$@

.ps~.ps:
	$(GET) $(GFLAGS) s.$@

.S~:
	rm -f $@
	$(GET) -p $(GFLAGS) s.$@.S | ../sedscript > $@
	chmod 755 $@
.S:
	rm -f $@
	../sedscript < $@.S > $@
	chmod 755 $@

.S~.S:
	$(GET) $(GFLAGS) s.$@
