Fix build on -current (build/link C++ code with $(CXX))

This commit is contained in:
Kris Kennaway 2002-09-08 21:14:53 +00:00
parent c494227445
commit 0dd7d45851
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65856

View File

@ -1,8 +1,18 @@
--- Imakefile.orig Sun Sep 6 00:11:26 1998
+++ Imakefile Wed Nov 1 08:58:25 2000
@@ -5,4 +5,4 @@
--- Imakefile.orig Sat Sep 5 08:11:26 1998
+++ Imakefile Sun Sep 8 13:24:11 2002
@@ -5,4 +5,14 @@
SRCS = wmcdplay.cc
OBJS = wmcdplay.o
-ComplexProgramTarget(wmcdplay)
+ComplexProgramTargetNoMan(wmcdplay)
+PROGRAM = wmcdplay
+AllTarget(wmcdplay)
+
+ProgramTargetName(wmcdplay): $(OBJS) $(DEPLIBS)
+ RemoveTargetProgram(wmcdplay)
+ CplusplusLinkRule($@,$(LDOPTIONS),$(OBJS),$(LOCAL_LIBRARIES) $(LDLIBS))
+
+DependTarget()
+LintTarget()
+clean::
+ RemoveFile(ProgramTargetName(wmcdplay))