about summary refs log tree commit diff stats
path: root/src/chrtrans/makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/chrtrans/makefile.in')
-rw-r--r--src/chrtrans/makefile.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/chrtrans/makefile.in b/src/chrtrans/makefile.in
index 52cf5524..d399a0e5 100644
--- a/src/chrtrans/makefile.in
+++ b/src/chrtrans/makefile.in
@@ -29,6 +29,7 @@ SITE_DEFS	= # FIXME: set in parent makefile
 CC		= @CC@
 CPP		= @CPP@
 CFLAGS		= @CFLAGS@
+_O		= .o
 
 CPP_OPTS	= @DEFS@ @CPPFLAGS@ \
 		-I$(top_builddir) \
@@ -93,14 +94,14 @@ default: $(FONTMAP_INC)
 
 tables: $(TABLES)
 
-makeuctb$x: makeuctb.o
-	$(CC) $(CC_OPTS) $(LDFLAGS) -o $@ makeuctb.o $(INTLLIB) $(LIBS)
+makeuctb$x: makeuctb$(_O)
+	$(CC) $(CC_OPTS) $(LDFLAGS) -o $@ makeuctb$(_O) $(INTLLIB) $(LIBS)
 
-makeuctb.o: $(srcdir)/UCkd.h $(srcdir)/makeuctb.c
+makeuctb$(_O): $(srcdir)/UCkd.h $(srcdir)/makeuctb.c
 
-.SUFFIXES : .tbl .i
+.SUFFIXES : $(_O) .tbl .i
 
-.c.o:
+.c$(_O):
 @RULE_CC@
 	@ECHO_CC@$(CC) $(CC_OPTS) -c $(srcdir)/$*.c
 
@@ -155,7 +156,7 @@ utf8_uni.h:		$(srcdir)/utf8_uni.tbl		makeuctb$x
 viscii_uni.h:		$(srcdir)/viscii_uni.tbl	makeuctb$x
 
 clean:
-	rm -f makeuctb$x *.o *uni.h *uni2.h
+	rm -f makeuctb$x *$(_O) *uni.h *uni2.h
 
 distclean: clean
 	-rm -rf obsolete