Moved source files into command
authorRobert Pengelly <robertapengelly@hotmail.com>
Mon, 15 Sep 2025 05:36:44 +0000 (06:36 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Mon, 15 Sep 2025 05:36:44 +0000 (06:36 +0100)
Makefile.bsd

index b048cdf9b1199f7333a26a2c9c008a8428f9f790..ae5b33c53da8e251787864c75f0e318ed385864a 100644 (file)
@@ -7,8 +7,6 @@ VPATH               :=  $(SRCDIR)
 CC                  :=  gcc
 CFLAGS              :=  -D_FILE_OFFSET_BITS=64 -O2 -Wall -Werror -Wextra -ansi -pedantic -std=c90
 
-CSRC                :=  cstr.c hashtab.c lib.c read.c report.c rule.c variable.c xmake.c
-
 all: xmake
 
 clean:
@@ -16,5 +14,5 @@ clean:
        if [ -f xmake ]; then rm -rf xmake; fi
        if [ -f xmake.exe ]; then rm -rf xmake.exe; fi
 
-xmake: $(CSRC)
-       $(CC) $(CFLAGS) -o $@ $^
+xmake: cstr.c hashtab.c lib.c read.c report.c rule.c variable.c xmake.c
+       $(CC) $(CFLAGS) -o $@ cstr.c hashtab.c lib.c read.c report.c rule.c variable.c xmake.c