new file organization
[unix-history] / usr / src / usr.bin / dc / Makefile
index 37463f1..47a67a6 100644 (file)
@@ -1,18 +1,17 @@
 #
 #
-#      @(#)Makefile    1.2     (Berkeley)      83/02/11
+#      @(#)Makefile    1.3     (Berkeley)      83/03/30
 #
 DESTDIR=
 #
 DESTDIR=
-SRCS = dc.c dc.h
+SRCS=  dc.c dc.h
+CFLAGS=        -O
+
 all: dc
 
 dc:    dc.c dc.h
 all: dc
 
 dc:    dc.c dc.h
-       cc -O dc.c -o dc
+       ${CC} ${CFLAGS} dc.c -o dc
+
+install:
+       install -s dc ${DESTDIR}/usr/bin/dc
 
 
-install: dc
-       install -s dc $(DESTDIR)/usr/bin
 clean:
        rm -f *.o
 clean:
        rm -f *.o
-
-sources: srcs
-srcs: $(SRCS)
-       sccs get $@